get_variable_effects | R Documentation |
This function generates a list of predictions based on the data for all variables in the 'variables' formula. This is an alternative to showing coefficient estimates. Coefficient estimates can be hard to interpret or compare. This function produces standardized effect estimates for all variables.
get_variable_effects( variables, data, labels = NULL, .variable.set = NULL, .perc = c(0.1, 0.9), .few.values = 2/3 )
variables |
A formula or list of formulas that indicate which variables are included in summary statistics. |
data |
Dataframe with variables to produce summary statistics from. |
labels |
An optional vector of labels: c("variable" = "label). |
.variable.set |
An optional subset of variables to examine. |
.perc |
For numeric variables this sets the low and high quantile values. The default is to examine the effect of moving from the 10th percentile (0.1) to the 90th percentile (0.9). |
.few.values |
A value indicating the cut-off for dropping a value in the quantile. If one value represents more than this portion of the variable (e.g., more than 66 dropped. |
For character (factor) variables, all unique values of the variable are compared against each other. For numeric variables, the impact of moving from the 10th to the 90th percentile is estimated.
A dataframe that shows the impact of all variables (median, confidence interval, and P-value). If labels are provided this dataframe will also contain the labels.
Other post analysis exploration:
get_summary_statistics()
,
identify_examples()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.