autoCorPlots: Produces auto-correlation plots of the observed state...

View source: R/inertCoord.R

autoCorPlotsR Documentation

Produces auto-correlation plots of the observed state variable for lags of -+ 20 time steps for each dyad.

Description

Produces auto-correlation plots of the observed state variable for lags of -+ 20 time steps for each dyad.

Usage

autoCorPlots(basedata, dyadId, personId, obs_name, time_name)

Arguments

basedata

A user provided dataframe.

dyadId

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

personId

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

obs_name

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

time_name

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

Value

Prints the plots to the screen.

Examples

data <- rties_ExampleDataShort
autoCorPlots(basedata=data, dyadId="couple", personId="person", obs_name="dial", time_name="time")


ebmtnprof/rties documentation built on Aug. 25, 2022, 7:47 p.m.