clean_loadings | R Documentation |
Sort and clean loadings
clean_loadings(floadings, cutoff = 0, fsort = FALSE, dec = 8, repl = NA)
floadings |
Data frame with loadings |
cutoff |
Show only loadings with (absolute) values above cutoff (default = 0) |
fsort |
Sort factor loadings |
dec |
Number of decimals to show |
repl |
Replace loadings below the cutoff by NA (or "") |
See https://radiant-rstats.github.io/docs/multivariate/full_factor.html for an example in Radiant
result <- full_factor(shopping, "v1:v6", nr_fact = 2)
clean_loadings(result$floadings, fsort = TRUE, cutoff = .5, dec = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.