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

View source: R/plot.nest.R

plot.nestR Documentation

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 class 'nest'
plot(x, pa = FALSE, ...)

Arguments

x

an object of class "nest".

pa

show results of Parallel Analysis.

...

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

Value

A ggplot output.

Note

This function is more interesting with many alpha values.

Examples

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

Rnest documentation built on April 3, 2025, 5:31 p.m.