Last chance! 50% off unlimited learning
Sale ends in
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.
RR.style(style="behavior", suffixes=NA, minVar=NA)
a string defining the labeling style - either `behavior' or `perception'.
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
Set the minVar parameter for all subsequent analyses. See RR
for details on this parameter.
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).
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab