plotDataByProfile: Plots of de-trended observed variable over time, with dyads...

Description Usage Arguments Value Examples

View source: R/rtiesShared.R

Description

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

Usage

1
2
3
4
5
6
7
8
9
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

1
# See vignettes for examples.

rties documentation built on July 2, 2020, 4:11 a.m.