plot.nest: Print results of NEST

View source: R/plot.nest.R

plot.nestR Documentation

Print results of 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, y, ...)

Arguments

x

An object of class "nest".

pa

Show results of Parallel Analysis.

y

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

...

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 May 29, 2024, 2:25 a.m.