plot_cans: Plot a series of CANS outcomes for a random sample of...

Description Usage Arguments Value Author(s) Examples

Description

Creates a plot of trajectories over time, conditioned over individuals

Usage

1
plotCANS(data, sample.size = 24, show.ID = FALSE, ID.column = 2, date.column = 32, layout.plan = c(6, 4, 1), groups.column = 31, use.color = T, ...)

Arguments

data

the CANS data frame

sample.size

the number of individuals to be displayed in the lattice display

show.ID

logical value; should be set to TRUE if you want the ID to appear in the strip plot; default is FALSE for privacy to prevent display of client identifier

ID.column

index of the column containing the individual ID (a factor)

date.column

index of the time variable, should be a vector of dates

layout.plan

an integer vector of length 3; the panel layout (see lattice documentation)

groups.column

index of grouping variable; this would usually be the column denoting the service or provider associated with the CANS data point

use.color

logical, set to F so points will display as symbols

...

allows you to pass additional parameters to xyplot()

Value

returns a printable trellis object as described in Lattice documentation

Author(s)

Jack Simons <jack.simons@state.ma.us>

Examples

1
## no examples yet

CANS.works documentation built on May 2, 2019, 5:17 p.m.