Skip to content

Commit

Permalink
fixes to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kall committed Apr 16, 2024
1 parent d95b029 commit 0964ad6
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/gpd.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ qgeneralized_pareto <- function(p, mu = 0, sigma = 1, k = 0, lower.tail = TRUE,
#' Zhang, J., and Stephens, M. A. (2009). A new and efficient estimation method
#' for the generalized Pareto distribution. *Technometrics* **51**, 316-325.
#'
#' @noRd
gpdfit <- function(x, wip = TRUE, min_grid_pts = 30, sort_x = TRUE) {
# see section 4 of Zhang and Stephens (2009)
if (sort_x) {
Expand Down
1 change: 1 addition & 0 deletions R/pareto_smooth.R
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@ ps_tail_length <- function(ndraws, r_eff, ...) {
#' @param are_weights (logical) are the diagnostics for weights
#' @param ... unused
#' @return diagnostic message
#' @noRd
pareto_k_diagmsg <- function(diags, are_weights = FALSE, ...) {
khat <- diags$khat
min_ss <- diags$min_ss
Expand Down
32 changes: 32 additions & 0 deletions man/ps_convergence_rate.Rd

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

31 changes: 31 additions & 0 deletions man/ps_khat_threshold.Rd

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

30 changes: 30 additions & 0 deletions man/ps_min_ss.Rd

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

30 changes: 30 additions & 0 deletions man/ps_tail_length.Rd

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

0 comments on commit 0964ad6

Please sign in to comment.