| full_factor {radiant.multivariate} | R Documentation | 
Factor analysis (PCA)
Description
Factor analysis (PCA)
Usage
full_factor(
  dataset,
  vars,
  method = "PCA",
  hcor = FALSE,
  nr_fact = 1,
  rotation = "varimax",
  data_filter = "",
  envir = parent.frame()
)
Arguments
| dataset | Dataset | 
| vars | Variables to include in the analysis | 
| method | Factor extraction method to use | 
| hcor | Use polycor::hetcor to calculate the correlation matrix | 
| nr_fact | Number of factors to extract | 
| rotation | Apply varimax rotation or no rotation ("varimax" or "none") | 
| 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 | 
Details
See https://radiant-rstats.github.io/docs/multivariate/full_factor.html for an example in Radiant
Value
A list with all variables defined in the function as an object of class full_factor
See Also
summary.full_factor to summarize results
plot.full_factor to plot results
Examples
full_factor(shopping, "v1:v6") %>% str()
[Package radiant.multivariate version 1.6.6 Index]