sysVarOutPlots: Produces plots for interpreting the results from sysVarIn.

Description Usage Arguments Value Examples

View source: R/sysVarPlots.R

Description

Produces plots for interpreting the results from sysVarIn.

Usage

1
2
3
4
5
6
7
8
9
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

1
# See vignettes for examples.

rties documentation built on July 2, 2020, 4:11 a.m.