Learn R Programming

UPCM (version 0.0-4)

plot.UPCM: Plot function for UPCM

Description

Plot function for a UPCM or a UGPCM object. Plots show coefficient estimates together with confidence intervals displayed as star plots.

Usage

# S3 method for UPCM
plot(x, sig = 0.05, KIfactor = 0.9, xlim, ylim, ...)

Value

No return value, called for side effects

Arguments

x

UPCM object

sig

Significance level for confidence intervals, default is sig = 0.05.

KIfactor

Parameter to regulate the shape of the resulting star.

xlim

See xlim in plot.default.

ylim

See ylim in plot.default.

...

Further plot arguments.

References

Tutz, Gerhard and Schauberger, Gunther (2020): Uncertainty in Latent Trait Models, Applied Psychological Measurement, https://journals.sagepub.com/doi/abs/10.1177/0146621620920932?journalCode=apma

See Also

UPCM

Examples

Run this code
# \donttest{
data(tenseness)

Y <- data.matrix(tenseness[,1:4])
X <- model.matrix(~ Gender + Age, data = tenseness)[,-1]

m_upcm <- UPCM(Y = Y, X = X, cores = 2, GPCM = FALSE)
m_upcm
plot(m_upcm)
# }

Run the code above in your browser using DataLab