screeplot_svd: Scree plot for singular values.

Description Usage Arguments References Examples

View source: R/screeplot_svd.R

Description

Scree plot for singular values.

Usage

1
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 fucntion. 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, doi: 10.1007/s11336-020-09704-7.

Examples

1
2
3
4
5
6
7
require(mirtjml)

# load a simulated dataset
attach(data_sim)

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

mirtsvd documentation built on Sept. 13, 2020, 5:10 p.m.