crossCorPlots | R Documentation |
Produces cross-correlation plots of the observed state variable for lags of -+ 20 time steps for each dyad.
crossCorPlots(basedata, personId, dyadId, obs_name, time_name)
basedata |
A user provided dataframe. |
personId |
The name of the column in the dataframe that has the person-level identifier. |
dyadId |
The name of the column in the dataframe that has the dyad-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. |
Prints the plots to the screen.
data <- rties_ExampleDataShort crossCorPlots(basedata=data, dyadId="couple", personId="person", obs_name="dial", time_name="time")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.