powered by
Evaluate if data are appropriate for PCA / Factor analysis
pre_factor( dataset, vars, hcor = FALSE, data_filter = "", envir = parent.frame() )
A list with all variables defined in the function as an object of class pre_factor
Dataset
Variables to include in the analysis
Use polycor::hetcor to calculate the correlation matrix
Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "price > 10000")
Environment to extract data from
See https://radiant-rstats.github.io/docs/multivariate/pre_factor.html for an example in Radiant
summary.pre_factor to summarize results
summary.pre_factor
plot.pre_factor to plot results
plot.pre_factor
pre_factor(shopping, "v1:v6") %>% str()
Run the code above in your browser using DataLab