From bac16db1615016a4e1b4d210f590d3a2110de5c8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 14 Sep 2023 20:05:18 +0200 Subject: [PATCH] fix example --- R/check_model.R | 5 ----- man/check_model.Rd | 5 ----- 2 files changed, 10 deletions(-) diff --git a/R/check_model.R b/R/check_model.R index 8f0ae0d5e..c24da4903 100644 --- a/R/check_model.R +++ b/R/check_model.R @@ -149,11 +149,6 @@ #' m <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy) #' check_model(m, panel = FALSE) #' } -#' -#' if (require("rstanarm")) { -#' m <- stan_glm(mpg ~ wt + gear, data = mtcars, chains = 2, iter = 200) -#' check_model(m) -#' } #' } #' @export check_model <- function(x, ...) { diff --git a/man/check_model.Rd b/man/check_model.Rd index d68e6c65e..6eebeb1e6 100644 --- a/man/check_model.Rd +++ b/man/check_model.Rd @@ -214,11 +214,6 @@ if (require("lme4")) { m <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy) check_model(m, panel = FALSE) } - -if (require("rstanarm")) { - m <- stan_glm(mpg ~ wt + gear, data = mtcars, chains = 2, iter = 200) - check_model(m) -} } } \seealso{