Skip to content

Commit

Permalink
Merge pull request #369 from n-kall/master
Browse files Browse the repository at this point in the history
`r_eff` default to `NULL`
  • Loading branch information
paul-buerkner authored May 14, 2024
2 parents c89ed34 + 6c121b8 commit 419a1a3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion R/pareto_smooth.R
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ pareto_smooth.rvar <- function(x, return_k = FALSE, extra_diags = FALSE, ...) {
#' @export
pareto_smooth.default <- function(x,
tail = c("both", "right", "left"),
r_eff = 1,
r_eff = NULL,
ndraws_tail = NULL,
return_k = FALSE,
extra_diags = FALSE,
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/args-pareto.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' al. (2024)).
#' @param r_eff (numeric) relative effective sample size estimate. If
#' `r_eff` is NULL, it will be calculated assuming the draws are
#' from MCMC. Default is 1.
#' from MCMC. Default is NULL.
#' @param verbose (logical) Should diagnostic messages be printed? If
#' `TRUE`, messages related to Pareto diagnostics will be
#' printed. Default is `FALSE`.
Expand Down
6 changes: 3 additions & 3 deletions man/pareto_diags.Rd

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

6 changes: 3 additions & 3 deletions man/pareto_khat.Rd

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

8 changes: 4 additions & 4 deletions man/pareto_smooth.Rd

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

0 comments on commit 419a1a3

Please sign in to comment.