diff --git a/R/estimate_density.R b/R/estimate_density.R index d7c1a5a6f..554290adf 100644 --- a/R/estimate_density.R +++ b/R/estimate_density.R @@ -76,7 +76,7 @@ #' # rstanarm models #' # ----------------------------------------------- #' library(rstanarm) -#' model <- suppressWarning( +#' model <- suppressWarnings( #' stan_glm(mpg ~ wt + gear, data = mtcars, chains = 2, iter = 200, refresh = 0) #' ) #' head(estimate_density(model)) diff --git a/man/estimate_density.Rd b/man/estimate_density.Rd index 4aad26d7a..c6460eeaf 100644 --- a/man/estimate_density.Rd +++ b/man/estimate_density.Rd @@ -115,7 +115,7 @@ head(estimate_density(iris$Petal.Width, at = iris$Species)) # rstanarm models # ----------------------------------------------- library(rstanarm) -model <- suppressWarning( +model <- suppressWarnings( stan_glm(mpg ~ wt + gear, data = mtcars, chains = 2, iter = 200, refresh = 0) ) head(estimate_density(model))