plotDataByProfile {rties}R Documentation

Plots of de-trended observed variable over time, with dyads separated into groups based on LPA profile membership.

Description

Plots of de-trended observed variable over time, with dyads separated into groups based on LPA profile membership.

Usage

plotDataByProfile(
  prepData,
  fullData,
  n_profiles,
  dist0name = NULL,
  dist1name = NULL,
  plot_obs_name = NULL,
  printPlots = T
)

Arguments

prepData

A dataframe created by the dataPrep function.

fullData

A dataframe created by the makeFullData function.

n_profiles

The number of profiles that were estimated.

dist0name

An optional name for the level-0 of the distinguishing variable (e.g., "Women"). Default is dist0.

dist1name

An optional name for the level-1 of the distinguishing variable (e.g., "Men"). Default is dist1.

plot_obs_name

An optional name for the observed state variable to appear on plots (e.g., "Emotional Experience").

printPlots

If true (the default) plots are displayed on the screen.

Value

A list of plots.

Examples

# See vignettes for examples.

[Package rties version 5.0.0 Index]