clean_loadings {radiant.multivariate}R Documentation

Sort and clean loadings

Description

Sort and clean loadings

Usage

clean_loadings(floadings, cutoff = 0, fsort = FALSE, dec = 8, repl = NA)

Arguments

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 "")

Details

See https://radiant-rstats.github.io/docs/multivariate/full_factor.html for an example in Radiant

Examples

result <- full_factor(shopping, "v1:v6", nr_fact = 2)
clean_loadings(result$floadings, fsort = TRUE, cutoff = .5, dec = 2)


[Package radiant.multivariate version 1.6.1 Index]