From f5ebb72166751abaef7fda54da9d9421101aa431 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 16 Dec 2024 15:51:17 +0100 Subject: [PATCH] less verbose --- R/rope.R | 5 +++-- man/rope.Rd | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/R/rope.R b/R/rope.R index 805761ee1..9cf0da793 100644 --- a/R/rope.R +++ b/R/rope.R @@ -128,14 +128,15 @@ #' rope(emtrends(model, ~1, "wt"), ci = c(0.90, 0.95)) #' #' library(brms) -#' model <- brm(mpg ~ wt + cyl, data = mtcars) +#' model <- brm(mpg ~ wt + cyl, data = mtcars, refresh = 0) #' rope(model) #' rope(model, ci = c(0.90, 0.95)) #' #' library(brms) #' model <- brm( #' bf(mvbind(mpg, disp) ~ wt + cyl) + set_rescor(rescor = TRUE), -#' data = mtcars +#' data = mtcars, +#' refresh = 0 #' ) #' rope(model) #' rope(model, ci = c(0.90, 0.95)) diff --git a/man/rope.Rd b/man/rope.Rd index 38b182f35..9d3b82ff3 100644 --- a/man/rope.Rd +++ b/man/rope.Rd @@ -190,14 +190,15 @@ library(emmeans) rope(emtrends(model, ~1, "wt"), ci = c(0.90, 0.95)) library(brms) -model <- brm(mpg ~ wt + cyl, data = mtcars) +model <- brm(mpg ~ wt + cyl, data = mtcars, refresh = 0) rope(model) rope(model, ci = c(0.90, 0.95)) library(brms) model <- brm( bf(mvbind(mpg, disp) ~ wt + cyl) + set_rescor(rescor = TRUE), - data = mtcars + data = mtcars, + refresh = 0 ) rope(model) rope(model, ci = c(0.90, 0.95))