Description Usage Arguments Details
set_rest_at_median
returns a list of the median of every
variables with onve variable taking on a given range of values. This
function is useful for generating matrices for computing quantities of
interst, such as predicted probabilities, risk-ratios, and
first-differences.
1 | set_rest_at_median(formula, data, var_name, var_values)
|
formula |
A model formula. |
data |
A data frame. |
var_name |
The name of the variable to be varied. |
var_values |
The values that |
Vary one variable and set the rest at their medians
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.