View source: R/methods-lgpsim.R
plot_sim | R Documentation |
Visualize an lgpsim object (simulated data)
plot_sim(
simdata,
group_by = "id",
x_name = "age",
h_name = "h",
y_name = "y",
comp_idx = NULL,
color_by = NA,
verbose = TRUE,
...
)
simdata |
an object of class lgpsim |
group_by |
grouping factor |
x_name |
name of x-axis variable |
h_name |
name of the signal in |
y_name |
name of response variable |
comp_idx |
Possible index of a component to be shown. If this is NULL, the data and total signal are shown. |
color_by |
coloring factor |
verbose |
should some information be printed? |
... |
additional arguments to |
a ggplot
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.