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