Description Usage Arguments Value Author(s) See Also Examples
Checks if an object is of class "PA"
(Parallel analysis).
1 |
PA |
An object to be checked for class |
Returns TRUE
if input object if of class "PA"
and has all the necessary components. Returns FALSE
otherwise.
Carlos A. Arias carias@icfes.gov.co and Victor H. Cervantes vcervantes@icfes.gov.co
PA
, print.PA
, coef.PA
, CountEigen.PA
, plot.PA
, quantile.PA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # # 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)
# # Check if binaryRaschPA is a PA object
Check.PA(binaryRaschPA) # Should return TRUE
Check.PA(simRaschData) # Should return FALSE
# # Run Parallel Analysis for binary data conforming to the 2PL model
data(sim2plData)
binary2plPA <- PA(sim2plData, percentiles = c(0.95, 0.99), nReplicates = 200,
type = "binary", algorithm = "polychoric")
print(binary2plPA)
# # Check if binary2plPA is a PA object
Check.PA(binary2plPA) # Should return TRUE
Check.PA(simRaschData) # Should return FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.