plot.sia_parallel: Plot Method for Parallel Analysis Output

Description Usage Arguments Examples

View source: R/fa_parallel.R

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

1
2
## 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

1
2
3
4
5
6
## 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)

netique/ShinyItemAnalysis documentation built on Dec. 22, 2021, 12:10 a.m.