sysVarOutPlots: Produces plots for interpreting the results from sysVarIn.
Description
Produces plots for interpreting the results from sysVarIn.
Usage
sysVarOutPlots(
fullData,
sysVar_name,
sysVarType,
testModel,
dist0name = NULL,
dist1name = NULL,
binomial = F
)
Arguments
fullData
A dataframe created by the "makeFullData" function.
sysVar_name
The name of the variable in the dataframe that contains the system variable.
sysVarType
Whether the system variable is "dyadic", which means both partners have the same score, or "indiv" which means the partners can have different scores
testModel
The name of the model that is being interpreted (e.g., sysIn$models$sysVarInteract).
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
binomial
Whether the system variable is binomial. Default is false.
Value
Single plots or a list of plots (depending on the model that is being interpreted).
Examples
Run this code# NOT RUN {
# See vignettes for examples.
# }
Run the code above in your browser using DataLab