staPLOT: State-Trace Plot for Continuous Data

Description Usage Arguments

Description

Generates a state-trace plot for continuous data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
staPLOT(
  data,
  vars = c(1, 2),
  groups = NULL,
  grouplabels = NULL,
  axislabels = c("DV1", "DV2"),
  xlim = NULL,
  ylim = NULL,
  pred = NULL,
  palette = "Set1"
)

Arguments

data

Name of the data set and is the one required argument. It may be in either general or list format, or in summary statistics form (i.e., the output of staSTATS).

groups

list identifying the conditions to be distinguished in the plot with different markers.

grouplabels

list consisting of the labels for the groups defined by groups to appear in the legend.

axislabels

list that defines the labels on the x-axis and y-axis, respectively.

xlim, ylim

vector of axes limits.

pred

list of predicted values for each condition. Typically, this is the best-fitting values returned by staMR or staCMR.

palette

identifies a color palette (see scale_colour_brewer) for plotting points.


monotonicity/stacmr documentation built on Jan. 28, 2020, 3:29 a.m.