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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/coef.PA.R

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 carias@icfes.gov.co and Victor H. Cervantes vcervantes@icfes.gov.co

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

pcaPA documentation built on May 29, 2017, 6:53 p.m.