Learn R Programming

EFAfactors (version 1.2.2)

plot.EFAvote: Plot Voting Results for Number of Factors

Description

This function creates a pie chart to visualize the results of a voting method used to determine the number of factors in exploratory factor analysis (EFA). The voting method combines the results from multiple EFA techniques, and the pie chart displays the proportions of votes each number of factors received. Each slice of the pie represents the percentage of votes for a specific number of factors, providing a clear visual representation of the most commonly suggested number of factors.

Usage

# S3 method for EFAvote
plot(x, ...)

Value

None. This function is used for side effects (plotting).

Arguments

x

An object of class EFAvote, representing the results to be plotted.

...

Additional arguments to be passed to the plotting function.

See Also

EFAvote

Examples

Run this code
library(EFAfactors)

# \donttest{
nfacts <- c(5, 5, 5, 6, 6, 4)
names(nfacts) <- c("Hull", "CD", "PA", "EKC", "XGB","DNN")

EFAvote.obj <- EFAvote(votes = nfacts)
plot(EFAvote.obj)
# }


Run the code above in your browser using DataLab