factor_analysis {klovan} | R Documentation |
Perform Factor Analysis
Description
This function performs a Factor Analysis on a provided dataset using the "Varimax" orthogonal rotation method. It also calculates the factor scores for each factor.
Usage
factor_analysis(data, num_fac = 3)
Arguments
data |
A dataset of class data.frame. The data should contain 'C_X' and 'C_Y' columns representing the x and y coordinates of the data points and excludes any rank, ID, or column not for analysis, see README for details |
num_fac |
A numeric value indicating the number of factors to analyze. It's recommended to use 3, which is also the default value. |
Value
A data frame containing the calculated factors.
Examples
data("Klovan_Row80")
factor_analysis(Klovan_Row80)
factor_analysis(Klovan_Row80, 3)
[Package klovan version 0.1.0 Index]