Description Usage Arguments Value Author(s) See Also Examples
plot
method for objects of class PA
. Plots the scree plot for a "PA"
object for the
selected percentiles using ggplot
.
1 2 3 4 |
x |
an object of class |
percentiles |
The percentiles that ought to be plotted. Defaults to those in the PA object. |
main |
Graph title instead of default. |
xlab |
Label for |
ylab |
Label for |
groupLabel |
Legend box name instead of default. |
colour |
Logical indicating whether to identify the observed eigenvalues and percentiles by colour. |
linetype |
Logical indicating whether to identify the observed eigenvalues and percentiles by linetype. |
observed |
Label for the observed data, default is "observed" |
percentile |
Graph title instead of default. |
position |
Position for the percentile label. |
sep |
Character string to separate the label from the percentiles number. |
... |
Not used. |
ggplot
object for plotting the scree plot.
Carlos A. Arias carias@icfes.gov.co and Victor H. Cervantes vcervantes@icfes.gov.co
PA
, print.PA
, Check.PA
, CountEigen.PA
, coef.PA
, quantile.PA
1 2 3 4 5 6 7 8 | # # Run Parallel Analysis for binary data conforming to the Rasch model
# # using the polychoric C++ function
data(simRaschData)
binaryRaschPA <- PA(simRaschData, percentiles = c(0.95, 0.99), nReplicates = 200,
type = "binary", algorithm = "polychoric")
print(binaryRaschPA)
plot(binaryRaschPA, percentiles = 0.99, groupLabel = "") # Plots the scree-plot
# with the 99th percentile
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.