Tidy Functions to make plotting easy
Absolute value of sigma scaled by the overall maximum absolute value
tidy_beta(obj) abs_sigma(sigma_df)
obj | A Simrel Object |
---|---|
sigma_df | A tidy covariance data frame generated by tidy_sigma function |
A tibble with three columns: Predictor, Response and BetaCoef
Another data.frame (tibble) of same dimension with absolute covarinace scaled by overall maximum absolute values
#> # A tibble: 75 × 3 #> Predictor Response BetaCoef #> <int> <int> <dbl> #> 1 1 1 -0.105 #> 2 2 1 0.748 #> 3 3 1 0 #> 4 4 1 0 #> 5 5 1 0 #> 6 6 1 0 #> 7 7 1 0 #> 8 8 1 0 #> 9 9 1 0 #> 10 10 1 0 #> # … with 65 more rows#> # A tibble: 75 × 3 #> Predictor Response Covariance #> <int> <int> <dbl> #> 1 1 1 1 #> 2 2 1 0.711 #> 3 3 1 0 #> 4 4 1 0 #> 5 5 1 0 #> 6 6 1 0 #> 7 7 1 0 #> 8 8 1 0 #> 9 9 1 0 #> 10 10 1 0 #> # … with 65 more rows