simple_slopes: Calculate Simple Slopes

View source: R/effective_functions.r

simple_slopesR Documentation

Calculate Simple Slopes

Description

Calculates Simple Slopes from an interaction between a categorical and quantitative variable.

Usage

simple_slopes(mod, quant_var, cat_var, ...)

Arguments

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.

...

Other arguments, currently not implemented.

Value

A data frame giving the conditional partial effect along with standard errors, t-statistics and p-values.


davidaarmstrong/epsr documentation built on Aug. 28, 2024, 6:33 a.m.