Description Usage Arguments Examples
This function takes the regression object and calculates the relative importance of different covariates. The relative importance is only valid when the covariates are standardized.
1 | CovariateWeights(Model, Rounding = 0.01, Exact = FALSE, Intercept = TRUE)
|
Model |
A "lm" or "glm" object. |
Rounding |
Desired rounding, default is up to 2 decimal places. |
Exact |
If Exact = TRUE, the function will return weights with the sum of exactly 100. Default is set to FALSE, to reduce time required for computation. |
Intercept |
Does the regression object have an intercept term? Default is set to TRUE. |
1 | CovariateWeights(RegressionModel, Rounding = 1, Exact = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.