Skip to content

Commit

Permalink
fix Rds
Browse files Browse the repository at this point in the history
  • Loading branch information
helske committed Aug 27, 2024
1 parent 69eec3b commit 9afa4e4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/plot_coefs.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' @import ggplot2
#' @import bayesplot
#' @param object An output from [walker()].
#' @param level Level for intervals. Default is 0.05, leading to 90\% intervals.
#' @param level Level for intervals. Default is 0.05, leading to 90% intervals.
#' @param alpha Transparency level for [ggplot2::geom_ribbon()].
#' @param transform Optional vectorized function for transforming the coefficients (for example `exp`).
#' @param scales Should y-axis of the panels be `"fixed"` (default) or `"free"`?
Expand Down
4 changes: 2 additions & 2 deletions R/plot_fit.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Plot the fitted values and sample quantiles for a walker object
#'
#' @param object An output from [walker()] or [walker_glm()].
#' @param level Level for intervals. Default is 0.05, leading to 90\% intervals.
#' @param level Level for intervals. Default is 0.05, leading to 90% intervals.
#' @param alpha Transparency level for [ggplot2::geom_ribbon()].
#' @param ... Further arguments to [bayesplot::ppc_ribbon()].
#' @export
Expand All @@ -18,4 +18,4 @@ plot_fit <- function(object, level = 0.05, alpha = 0.33, ...){
x = as.numeric(time(object$y))[noNA], ...) +
theme(legend.position = "none") +
scale_x_continuous(name = "time")
}
}
2 changes: 1 addition & 1 deletion R/plot_predict.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' @param draw_obs Either `"response"`, `"mean"`, or `"none"`,
#' where `"mean"` is response variable divided by number of trials or exposures
#' in case of binomial/poisson models.
#' @param level Level for intervals. Default is 0.05, leading to 90\% intervals.
#' @param level Level for intervals. Default is 0.05, leading to 90% intervals.
#' @param alpha Transparency level for [ggplot2::geom_ribbon()].
#' @export
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion man/plot_coefs.Rd

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

2 changes: 1 addition & 1 deletion man/plot_fit.Rd

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

2 changes: 1 addition & 1 deletion man/plot_predict.Rd

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

0 comments on commit 9afa4e4

Please sign in to comment.