View source: R/effective_functions.r
simple_slopes | R Documentation |
Calculates Simple Slopes from an interaction between a categorical and quantitative variable.
simple_slopes(mod, quant_var, cat_var)
mod |
A model object that contains an interaction between a quantitative variable and a factor. |
quant_var |
A character string giving the name of the quantitative variable ine the interaction. |
cat_var |
A character string giving the name of the factor variable ine the interaction. |
A data frame giving the conditional partial effect along with standard errors, t-statistics and p-values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.