RR.style: Set labeling styles for RR analyses

View source: R/00-Skinning.R

RR.styleR Documentation

Set labeling styles for RR analyses

Description

This function sets labels for the printing of RR-objects and for plots. All subsequent calls of RR will be produced in this style (until another style is set). That means, usually you only have to define this style once at the start of your project.

Usage

RR.style(style="behavior", suffixes=NA, minVar=NA)

Arguments

style

a string defining the labeling style - either ‘behavior’ or ‘perception’.

suffixes

Which suffixes should be append to the actor and partner effects, and to the self ratings? Default is .a, .p, and .s, for actor/ partner/ self in the case of behavior, or .p, .t, and .s, for perceiver/ target/ self in the case of perceptions. If no suffixes are provided in the parameters, these defaults are taken depending on the style parameter

minVar

Set the minVar parameter for all subsequent analyses. See RR for details on this parameter.

Value

Printing options and naming conventions are set for all subsequent analyses. If you specify other styles in a print.RR call, this setting temporarily overwrites the settings from RR.style (without changing them).

Author(s)

Felix D. Schönbrodt

Examples

data("likingLong")

RR.style("behavior")
RR(liking_a ~ perceiver.id*target.id, data=likingLong)

RR.style("p")	# a "p" is enough for "perception"
RR(liking_a ~ perceiver.id*target.id, data=likingLong)


TripleR documentation built on April 26, 2022, 5:08 p.m.