plot_sample {clustra} | R Documentation |
Plots a sample of ids in a small mutiples layout
Description
Plots a sample of ids in a small mutiples layout
Usage
plot_sample(dat, layout = c(3, 3), sample = prod(layout), group = NULL)
Arguments
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. |
Value
Invisibly returns the number of trajectories plotted.
[Package clustra version 0.2.1 Index]