Store factor scores to active dataset

# S3 method for full_factor
store(dataset, object, name = "", ...)

Arguments

dataset

Dataset to append to factor scores to

object

Return value from full_factor

name

Name of factor score variables

...

Additional arguments

Details

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

See also

full_factor to generate results

summary.full_factor to summarize results

plot.full_factor to plot results

Examples

full_factor(shopping, "v1:v6", nr_fact = 3) %>% store(shopping, .) %>% head()
#> # A tibble: 6 x 10 #> id v1 v2 v3 v4 v5 v6 factor1 factor2 factor3 #> <int> <int> <int> <int> <int> <int> <int> <dbl> <dbl> <dbl> #> 1 1 6 4 7 3 2 3 1.17 -1.02 0.278 #> 2 2 2 3 1 4 5 4 -1.14 0.123 -0.899 #> 3 3 7 2 6 4 1 3 1.45 0.111 -1.87 #> 4 4 4 6 4 5 3 6 0.134 0.615 1.26 #> 5 5 1 3 2 2 6 4 -1.35 -1.05 -0.161 #> 6 6 6 4 6 3 3 4 0.848 -0.705 0.261