plot.sia_parallel: Plot Method for Parallel Analysis Output

View source: R/fa_parallel.R

plot.sia_parallelR Documentation

Plot Method for Parallel Analysis Output

Description

You can call this method to plot an existing object resulting from fa_paralell() function, which behaves as a standard data.frame, but can be automatically recognized and processed with a dedicated plot method. Also, you can post-hoc disable the Kaiser boundaries shown by default.

Usage

## S3 method for class 'sia_parallel'
plot(x, y, ...)

Arguments

x

object of class sia_parallel to plot.

y

ignored

...

additional argument:

show_kaiser

logical, whether to show horizonal lines denoting Kaiser boundaries (eigenvalue 0 and/or 1 for FA and/or PCA, respectively). Defaults to TRUE.

Examples

## Not run: 
fa_parallel_result <- BFI2[, 1:60] %>% fa_parallel(plot = FALSE) # without plot
fa_parallel_result %>% plot() # generate plot from "fitted" object
fa_parallel_result %>% plot(show_kaiser = FALSE) # hide Kaiser boundaries

## End(Not run)


patriciamar/ShinyItemAnalysis documentation built on April 25, 2024, 5:15 a.m.