Skip to contents

This function creates a plot of an event_model object, visualizing the design matrix.

Usage

# S3 method for event_model
plot(x, y, term_name = NULL, longnames = TRUE, ...)

Arguments

x

An event_model object.

y

Unused.

term_name

Name of the term to plot (optional).

longnames

Logical flag; if TRUE, use long names for the plot (default: TRUE).

...

Additional arguments to be passed to the ggplot2 function.

Value

A ggplot2 plot object.