From 3a070927c455f715e44a667aad66476468279741 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 13 Dec 2024 10:33:49 +0100 Subject: [PATCH] styler --- R/get_datagrid.R | 5 +++-- man/get_datagrid.emmGrid.Rd | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/R/get_datagrid.R b/R/get_datagrid.R index c492da654..ae6575df0 100644 --- a/R/get_datagrid.R +++ b/R/get_datagrid.R @@ -669,8 +669,9 @@ get_datagrid.datagrid <- get_datagrid.visualisation_matrix #' mtcars$cyl <- factor(mtcars$cyl) #' #' mod <- glm(am ~ cyl + hp + wt, -#' family = binomial("logit"), -#' data = mtcars) +#' family = binomial("logit"), +#' data = mtcars +#' ) #' #' @examplesIf insight::check_if_installed("emmeans", quietly = TRUE) #' em1 <- emmeans::emmeans(mod, ~ cyl + hp, at = list(hp = c(100, 150))) diff --git a/man/get_datagrid.emmGrid.Rd b/man/get_datagrid.emmGrid.Rd index ad48e6110..a1cc9237c 100644 --- a/man/get_datagrid.emmGrid.Rd +++ b/man/get_datagrid.emmGrid.Rd @@ -35,8 +35,9 @@ data("mtcars") mtcars$cyl <- factor(mtcars$cyl) mod <- glm(am ~ cyl + hp + wt, - family = binomial("logit"), - data = mtcars) + family = binomial("logit"), + data = mtcars +) \dontshow{if (insight::check_if_installed("emmeans", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} em1 <- emmeans::emmeans(mod, ~ cyl + hp, at = list(hp = c(100, 150)))