Learn R Programming

Rnest (version 1.2)

plot.nest: Plot results of Next Eigenvalues Sufficiency Test (NEST)

Description

Scree plot of the eigenvalues and the (1-alpha)*100% confidence intervals derived from the resampled eigenvalues supplied to nest.

Usage

# S3 method for nest
plot(x, pa = FALSE, ...)

Value

A ggplot output.

Arguments

x

an object of class "nest".

pa

show results of Parallel Analysis.

...

further arguments for other methods, ignored for "nest".

Examples

Run this code
results <- nest(ex_2factors, n = 100, alpha = c(.01, .05, .01))
plot(results)
# Return the data used to produce the plot
df <- plot(results)$data

Run the code above in your browser using DataLab