From dd45b4f385a6cc0f4b92444bf0e5329a32b67058 Mon Sep 17 00:00:00 2001 From: Satvik Mishra Date: Sat, 19 Sep 2026 12:49:29 +0000 Subject: [PATCH 1/2] docs: say "an intercept" for step_lencode_mixed() formula The documented lmer formula includes an intercept (`~ 1 + ...`), so the Details text should not say "no intercept". Fixes #277. --- R/lencode_mixed.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/lencode_mixed.R b/R/lencode_mixed.R index 7490fb2c..8020ad26 100644 --- a/R/lencode_mixed.R +++ b/R/lencode_mixed.R @@ -45,7 +45,7 @@ #' For novel levels, a slightly timmed average of the coefficients is returned. #' #' A hierarchical generalized linear model is fit using [lme4::lmer()] or -#' [lme4::glmer()], depending on the nature of the outcome, and no intercept via +#' [lme4::glmer()], depending on the nature of the outcome, and an intercept via #' #' ``` #' lmer(outcome ~ 1 + (1 | predictor), data = data, ...) From 1835f58530bc0d46f06b0bbad22208c3015e2505 Mon Sep 17 00:00:00 2001 From: Emil Hvitfeldt Date: Mon, 28 Sep 2026 08:11:45 -0700 Subject: [PATCH 2/2] rerender --- man/step_lencode_mixed.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/step_lencode_mixed.Rd b/man/step_lencode_mixed.Rd index ae9075f4..c8554f9a 100644 --- a/man/step_lencode_mixed.Rd +++ b/man/step_lencode_mixed.Rd @@ -71,7 +71,7 @@ the \emph{first} level of the factor. For novel levels, a slightly timmed average of the coefficients is returned. A hierarchical generalized linear model is fit using \code{\link[lme4:lmer]{lme4::lmer()}} or -\code{\link[lme4:glmer]{lme4::glmer()}}, depending on the nature of the outcome, and no intercept via +\code{\link[lme4:glmer]{lme4::glmer()}}, depending on the nature of the outcome, and an intercept via \if{html}{\out{
}}\preformatted{ lmer(outcome ~ 1 + (1 | predictor), data = data, ...) }\if{html}{\out{
}}