plot_sample: Plots a sample of ids in a small mutiples layout

View source: R/graphics.R

plot_sampleR 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.


clustra documentation built on Oct. 14, 2023, 9:15 a.m.