Closed dtkaplan closed 7 years ago
mod_effect() doesn't seem to work with splines, e.g.
mod_effect()
m <- lm(mpg ~ ns(hp,2)*am, data = mtcars) mod_effect(m, ~ hp)
Fooled myself. It seems to work.
mod_effect()
doesn't seem to work with splines, e.g.