clean_loadings: Sort and clean loadings

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


radiant-rstats/radiant.multivariate documentation built on Nov. 29, 2023, 9:52 p.m.