Skip to content

Commit

Permalink
fix epiparameter example
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Sep 25, 2024
1 parent 9b197d9 commit d3453e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions R/epiparameter.R
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,10 @@ is_epiparameter <- function(x) {
#' ep <- epiparameter(
#' disease = "ebola",
#' epi_dist = "incubation_period",
#' prob_distribution = "gamma",
#' prob_distribution_params = c(shape = 1, scale = 1)
#' prob_distribution = create_prob_distribution(
#' prob_distribution = "gamma",
#' prob_distribution_params = c(shape = 1, scale = 1)
#' )
#' )
#'
#' # example of each distribution method for an `epiparameter` object
Expand Down
6 changes: 4 additions & 2 deletions man/epiparameter_distribution_functions.Rd

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

0 comments on commit d3453e0

Please sign in to comment.