coef.PA: Eigenvalue and percentile extraction of a '"PA"' object.

Description Usage Arguments Value Author(s) See Also Examples

Description

coef method for objects of class "PA", produced by PA.

Usage

1
2
## S3 method for class 'PA'
coef(object, ...)

Arguments

object

an object of class "PA"

...

not used

Value

An object of class "matrix" with the observed eigenvalues and the percentiles.

Author(s)

Carlos A. Arias caariasr22@gmail.com and Victor H. Cervantes herulor@gmail.com

See Also

PA, print.PA, Check.PA, CountEigen.PA, plot.PA, quantile.PA

Examples

1
2
3
4
5
6
7
8
9
# # Run Parallel Analysis for binary data conforming to the Rasch model
data(simRaschData)
binaryRaschPA <- PA(simRaschData, percentiles = c(0.95, 0.99), nReplicates = 200,
                    type = "binary", algorithm = "polychoric")
print(binaryRaschPA)
binaryRaschPAEigenValues <- coef(binaryRaschPA)  # Save the matrix of observed
                                                 # eigenvalues and estimated
                                                 # eigenvalue percentiles
binaryRaschPAEigenValues

caariasr/pcaPA documentation built on May 13, 2019, 10:37 a.m.