Learn R Programming

hopit (version 0.11.6)

plot.hopitHI: Plotting Latent Index

Description

Plotting Latent Index

Usage

# S3 method for hopitHI
plot(x, response = c("data", "fitted"), xlab = "", ylab = "Latent index", ...)

Arguments

x

a object generated by latentIndex function.

response

X-axis plotting option; choose 'data' for the raw responses and 'fitted' for the responses reclassified by the model.

xlab

a label of the x-axis.

ylab

a label of the y-axis.

...

further parameters passed to the plot function.

Author

Maciej J. Danko