Skip to content

Commit

Permalink
added american spelling for is_parameterised and discretise functions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Nov 13, 2023
1 parent 2c6b041 commit 1582803
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export(create_epidist_region)
export(create_epidist_summary_stats)
export(create_epidist_uncertainty)
export(discretise)
export(discretize)
export(epidist)
export(epidist_db)
export(extract_param)
Expand All @@ -44,6 +45,7 @@ export(get_parameters)
export(is_epidist)
export(is_epidist_params)
export(is_parameterised)
export(is_parameterized)
export(is_truncated)
export(is_vb_epidist)
export(list_distributions)
Expand Down
4 changes: 4 additions & 0 deletions R/checkers.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ is_parameterised <- function(x, ...) {
UseMethod("is_parameterised")
}

#' @rdname is_parameterised
#' @export
is_parameterized <- is_parameterised

#' @export
is_parameterised.epidist <- function(x, ...) {
chkDots(...)
Expand Down
4 changes: 4 additions & 0 deletions R/epidist.R
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,10 @@ discretise <- function(x, ...) {
UseMethod("discretise")
}

#' @rdname discretise
#' @export
discretize <- discretise

#' @rdname discretise
#' @export
discretise.epidist <- function(x, ...) {
Expand Down
3 changes: 3 additions & 0 deletions man/discretise.Rd

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

3 changes: 3 additions & 0 deletions man/is_parameterised.Rd

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

0 comments on commit 1582803

Please sign in to comment.