Skip to content

Commit

Permalink
Replace index_cases with n_chains
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed May 15, 2024
1 parent 701cf40 commit 116d2dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions R/likelihood.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#' # Example using an <epichains_tree> object
#' set.seed(32)
#' chains_tree_eg <- simulate_chains(
#' index_cases = 10,
#' n_chains = 10,
#' pop = 100,
#' percent_immune = 0,
#' statistic = "size",
Expand All @@ -73,7 +73,7 @@
#' # Example using a <epichains_summary> object
#' set.seed(32)
#' chains_summary_eg <- simulate_chain_stats(
#' index_cases = 10,
#' n_chains = 10,
#' pop = 100,
#' percent_immune = 0,
#' statistic = "size",
Expand Down
4 changes: 2 additions & 2 deletions man/likelihood.Rd

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

4 changes: 2 additions & 2 deletions tests/testthat/test-likelihood.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ test_that("likelihood() works with epichains and epichains_summary objects", {
# Simulate an <epichains_tree> object
set.seed(32)
chains_tree_eg <- simulate_chains(
index_cases = 10,
n_chains = 10,
pop = 100,
percent_immune = 0,
statistic = "size",
Expand All @@ -105,7 +105,7 @@ test_that("likelihood() works with epichains and epichains_summary objects", {
# Simulate an <epichains_summary> object
set.seed(32)
chains_summary_eg <- simulate_chain_stats(
index_cases = 10,
n_chains = 10,
pop = 100,
percent_immune = 0,
statistic = "size",
Expand Down

0 comments on commit 116d2dd

Please sign in to comment.