Skip to content

Commit

Permalink
export mh_draws.gam and qq_plot.lm
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsimpson committed Dec 28, 2023
1 parent 1b71e69 commit 6d70a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/diagnose.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
qq_plot.gam(model, ...)
}

#' @export
#' @rdname qq_plot
#' @importFrom stats df.residual
`qq_plot.lm` <- function(model, ...) {
Expand Down
1 change: 1 addition & 0 deletions R/samplers.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@

#' @importFrom mgcv gam.mh
#' @rdname mh_draws
#' @export
`mh_draws.gam` <- function(model, n, burnin = 1000, thin = 1,
t_df = 40, rw_scale = 0.25, index = NULL, ...) {
capture.output(betas <- mgcv::gam.mh(b = model, ns = n * thin,
Expand Down

0 comments on commit 6d70a42

Please sign in to comment.