Extract Eigenvalues of predictors

tidy_lambda(obj, use_population = TRUE)

Arguments

obj

A simrel Object

use_population

A boolean to specify where to use population value or calculate from sample

Value

A dataframe of eigenvalues for each predictors

Examples

sobj <- multisimrel() sobj %>% tidy_lambda()
#> # A tibble: 15 × 2 #> Predictor lambda #> <int> <dbl> #> 1 1 1 #> 2 2 0.549 #> 3 3 0.301 #> 4 4 0.165 #> 5 5 0.0907 #> 6 6 0.0498 #> 7 7 0.0273 #> 8 8 0.0150 #> 9 9 0.00823 #> 10 10 0.00452 #> 11 11 0.00248 #> 12 12 0.00136 #> 13 13 0.000747 #> 14 14 0.000410 #> 15 15 0.000225