Skip to content

Commit

Permalink
Merge pull request #75 from poissonconsulting/deprecate-wqg
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley authored Aug 20, 2024
2 parents 02408d7 + 6b0754b commit 54ffefa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions R/wqg.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
#' ssd_wqg_bc(ssddata::ccme_boron)
#' }
ssd_wqg_bc <- function(data, left = "Conc") {
lifecycle::deprecate_warn("1.0.6.9016", "ssd_wqg_bc()", "ssd_fit_bcanz()",
details = "Please use `ssd_fit_bcanz()` and `ssd_hc_bcanz()` instead.")
fits <- ssd_fit_dists(data, left = left, rescale = FALSE)
ssd_hc(fits, ci = TRUE, nboot = 10000)
}
Expand Down Expand Up @@ -66,6 +68,8 @@ ssd_wqg_bc <- function(data, left = "Conc") {
#' ssd_wqg_burrlioz(ssddata::ccme_boron)
#' }
ssd_wqg_burrlioz <- function(data, left = "Conc") {
lifecycle::deprecate_warn("1.0.6.9016", "ssd_wqg_burrlioz()", "ssd_fit_bcanz()",
details = "Please use `ssd_fit_burrlioz()` and `ssd_hc_burrlioz()` instead.")
fit <- ssd_fit_burrlioz(data, left = left, rescale = FALSE)
ssd_hc_burrlioz(fit, ci = TRUE, nboot = 10000)
}
4 changes: 2 additions & 2 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ reference:
contents:
- ssd_hc
- ssd_hc_bcanz
- ssd_wqg_bc
- ssd_wqg_burrlioz
- title: Hazard Proportions
desc: Functions that calculate hazard proportions
contents:
Expand Down Expand Up @@ -102,6 +100,8 @@ reference:
contents:
- geom_ssd
- is_censored
- ssd_wqg_bc
- ssd_wqg_burrlioz
- ssd_hc_burrlioz
- ssd_plot_cf
- stat_ssd
Expand Down

0 comments on commit 54ffefa

Please sign in to comment.