source("helpers.R")
# glue with no statistic
# first time lmer raises a warn_once
requiet("lme4")
mod <- lmer(mpg ~ hp + (1 | cyl), data = mtcars)
tab <- modelsummary(mod,
output = "data.frame",
gof_map = NA,
statistic = c(
"t = {statistic}",
"p = {p.value}"))
expect_equivalent(nrow(tab), 8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.