Description Usage Arguments Value Examples
Produces histograms of the residuals from the inertia-coordination model for each dyad.
1 | inertCoordResids(prepData, whichModel, printPlots = T)
|
prepData |
A dataframe that was produced with the "dataPrep" function. |
whichModel |
Whether the model to be estimated is the inertia only model ("inert"), the coordination only model ("coord"), or the full inertia-coordination model ("inertCoord"). |
printPlots |
If true (the default) plots are displayed on the screen. |
A list with the histograms of the residuals for each dyad.
1 2 3 4 5 | data <- rties_ExampleDataShort
newData <- dataPrep(basedata=data, dyadId="couple", personId="person",
obs_name="dial", dist_name="female", time_name="time", time_lag=2)
temp <- newData[newData$dyad < 5, ]
residPlots <- inertCoordResids(prepData=temp, whichModel="inertCoord")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.