Skip to content

Commit

Permalink
change default for r_eff to 1 in pareto_smooth (and others)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kall committed Nov 15, 2023
1 parent 64e7558 commit da23af6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion R/pareto_smooth.R
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ pareto_smooth.rvar <- function(x, return_k = TRUE, extra_diags = FALSE, ...) {
#' @export
pareto_smooth.default <- function(x,
tail = c("both", "right", "left"),
r_eff = NULL,
r_eff = 1,
ndraws_tail = NULL,
return_k = TRUE,
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. (2022)).
#' @param r_eff (numeric) relative effective sample size estimate. If
#' `r_eff` is omitted, it will be calculated assuming the draws are
#' from MCMC.
#' from MCMC. Default is 1.
#' @param verbose (logical) Should diagnostic messages be printed? If
#' `TRUE`, messages related to Pareto diagnostics will be
#' printed. Default is `FALSE`.
Expand Down
2 changes: 1 addition & 1 deletion man/pareto_diags.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/pareto_khat.Rd

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

4 changes: 2 additions & 2 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 da23af6

Please sign in to comment.