Learn R Programming

mirtsvd (version 1.0.1)

screeplot_svd: Scree plot for singular values.

Description

Scree plot for singular values.

Usage

screeplot_svd(data, link = "logit", epsilon = 1e-04, K_max = 10)

Arguments

data

the data matrix. Entries are either binary or categorical. Missing entries should be NA.

link

the link function. Possible choices are "logit" and "probit".

epsilon

the truncation parameter. Default value is 1e-4.

K_max

The maximum number of factors contained in data. Default value is 10.

References

Zhang, H., Chen, Y., & Li, X. (2020). A note on exploratory item factor analysis by singular value decomposition. Psychometrika, 1-15, tools:::Rd_expr_doi("10.1007/s11336-020-09704-7").

Examples

Run this code
require(mirtjml)

# load a simulated dataset
attach(data_sim)

data <- data_sim$response
screeplot_svd(data, K_max = 10)

Run the code above in your browser using DataLab