Skip to content

Commit

Permalink
update new code to function object notation
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Feb 6, 2024
1 parent a02fb9d commit 13f1deb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/simulate.r
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ simulate_chains <- function(index_cases,
#' percent_immune = 0.1,
#' index_cases = 20,
#' statistic = "size",
#' offspring_dist = "nbinom",
#' offspring_dist = rnbinom,
#' stat_max = 10,
#' mu = 0.9,
#' size = 0.36
Expand Down
2 changes: 1 addition & 1 deletion man/simulate_summary.Rd

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

2 changes: 1 addition & 1 deletion tests/testthat/test-simulate.R
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ test_that("simulate_summary is numerically correct",{
pop = 11,
percent_immune = 0,
index_cases = 10,
offspring_dist = "pois",
offspring_dist = rpois,
statistic = "length",
lambda = 2
)
Expand Down

0 comments on commit 13f1deb

Please sign in to comment.