plotRaw: Plots of observed variable over time by dyad.

Description Usage Arguments

Description

Produces plots of the observed variable for each dyad over time to check for data errors, etc.

Usage

1
plotRaw(basedata, dyad, obs, dist, time_name, dist0name, dist1name)

Arguments

basedata

A dataframe.

dyad

The name of the column in the dataframe that has the dyad-level identifier.

obs

The name of the column in the dataframe that has the time-varying observable (e.g., the variable for which dynamics will be assessed).

dist

The name of the column in the dataframe that has a variable that distinguishes the partners (e.g., sex, mother/daughter, etc) that is numeric and scored 0/1.

time_name

The name of the column in the dataframe that indicates sequential temporal observations.

dist0name

A name for the level-0 of the distinguishing variable (e.g., "Women").

dist1name

A name for the level-1 of the distinguishing variable (e.g., "Men").


ebmtnprof/qid documentation built on May 13, 2019, 6:08 p.m.