Skip to content

Commit

Permalink
correctly specify uncertainty in epiparameter() example
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Sep 25, 2024
1 parent 3c72803 commit 9b197d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion R/epiparameter.R
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ new_epiparameter <- function(disease = character(),
#' discretise = FALSE,
#' truncation = NA
#' ),
#' uncertainty = create_uncertainty(),
#' uncertainty = list(
#' shape = create_uncertainty(),
#' scale = create_uncertainty()
#' ),
#' summary_stats = create_summary_stats(mean = 2, sd = 1),
#' citation = create_citation(
#' author = person(given = "John", family = "Smith"),
Expand Down
5 changes: 4 additions & 1 deletion man/epiparameter.Rd

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

0 comments on commit 9b197d9

Please sign in to comment.