plot.alsos: Plotting method for ALSOS object

plot.alsosR Documentation

Plotting method for ALSOS object

Description

Makes a plot or optionally returns data for user-generated plots from an alsos object

Usage

## S3 method for class 'alsos'
plot(x, which_var = NULL, return_data = FALSE, ...)

Arguments

x

An object of class alsos.

which_var

The name of a raw variable that was scaled in the alsos procedure for which a meausrement function should be returned.

return_data

Logical indicating whether the data should be returned (if TRUE) or a plot generated (if FALSE)

...

arguments to be passed in, currently not implemented.

Value

A plot of the original and optimally scaled values.

Examples

data(france)
res <- alsos(lrself ~ 1, ~retnat + male + age, data=france, scale_dv=TRUE)
plot(res)

davidaarmstrong/damisc documentation built on Sept. 16, 2024, 4:10 a.m.