plot_sample | R Documentation |
Plots a sample of ids in a small mutiples layout
plot_sample(dat, layout = c(3, 3), sample = prod(layout), group = NULL)
dat |
A data frame with a few id trajectories to plot. |
layout |
The small multiples layout as c(rows, columns). |
sample |
If zero, all data in dat are displayed. If >0 a sample of that many data points from dat are displayed. |
group |
If not NULL, a character string giving the variable name in data that should color the data points. |
Invisibly returns the number of trajectories plotted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.