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.

Value

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


psre documentation built on Aug. 8, 2022, 5:05 p.m.

Related to simple_slopes in psre...