RR.style: Set labeling styles for RR analyses

Description Usage Arguments Value Author(s) Examples

View source: R/00-Skinning.R

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

1
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<c3><b6>nbrodt

Examples

1
2
3
4
5
6
7
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 May 30, 2017, 4:19 a.m.