Description Usage Arguments Value Author(s) See Also Examples
Calculates arbitrary quantiles from the simulatedEigenValues
in a "PA"
object.
1 2 |
x |
An object of class |
percentiles |
The new percentiles to replace the ones found in the |
... |
Not used. |
An object of class "PA"
with the percentiles data.frame
replaced by those from the percentiles
argument.
Carlos A. Arias caariasr22@gmail.com and Victor H. Cervantes herulor@gmail.com
PA
, print.PA
, Check.PA
, CountEigen.PA
, coef.PA
, plot.PA
1 2 3 4 5 6 7 8 9 10 11 | # # Using the polychoric C++ function
data(Science)
Science[, ] <- lapply(Science, as.ordered)
orderedPA <- PA(Science, percentiles = c(0.90, 0.99), nReplicates = 200,
type = "ordered", algorithm = "polychoric")
print(orderedPA) # Shows the eigenvalues as a matrix
head(orderedPA$simulatedEigenValues) # Shows the first six iterations
# # Get different quantiles from a PA object
quantile(orderedPA, percentiles = c(0.1, 0.2, 0.5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.