report
report copied to clipboard
Add support for [mediate] objects
Objects of class [mediate] are currently not supported:
library(mediation)
b <- lm(job_seek ~ treat + econ_hard + sex + age, data=jobs)
c <- lm(depress2 ~ treat + job_seek + econ_hard + sex + age, data=jobs)
contcont <- mediate(b, c, sims=50, treat="treat", mediator="job_seek")
report::report(contcont)
#> Error: Oops, objects of class [mediate] are not supported (yet) by report() :(
#>
#> Want to help? Check out https://easystats.github.io/report/articles/new_models.html
Created on 2025-03-23 with reprex v2.1.1
Would be nice to support them.