Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jun 30, 2023
1 parent c7c9047 commit 5606cb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/ci.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#' ci(bf, method = "HDI")
#'
#' @examplesIf require("emmeans", quietly = TRUE) && require("rstanarm", quietly = TRUE)
#' model <- emtrends(model, ~1, "wt")
#' model <- suppressWarnings(emtrends(model, ~1, "wt", data = mtcars))
#' ci(model, method = "ETI")
#' ci(model, method = "HDI")
#' @export
Expand Down
2 changes: 1 addition & 1 deletion man/ci.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vignettes/bayes_factors.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ fit_sum <- stan_glm(Sepal.Length ~ Species,
(pairs_sum <- pairs(emmeans(fit_sum, ~Species)))
ggplot(stack(insight::get_parameters(pairs_sum)), aes(x = values, fill = ind)) +
geom_density(size = 1) +
geom_density(linewidth = 1) +
facet_grid(ind ~ .) +
labs(x = "prior difference values") +
theme(legend.position = "none")
Expand All @@ -1060,7 +1060,7 @@ ggplot(stack(insight::get_parameters(pairs_sum)), aes(x = values, fill = ind)) +
(pairs_sum <- suppressWarnings(pairs(emmeans(fit_sum, ~Species, data = iris))))
ggplot(stack(insight::get_parameters(pairs_sum)), aes(x = values, fill = ind)) +
geom_density(size = 1) +
geom_density(linewidth = 1) +
facet_grid(ind ~ .) +
labs(x = "prior difference values") +
theme(legend.position = "none")
Expand Down

0 comments on commit 5606cb7

Please sign in to comment.