Skip to content

Commit

Permalink
Add dummy n_replicate counter for ODE models
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikunterwegs committed Apr 12, 2024
1 parent 48bebd3 commit dacc084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ epidemic_size <- function(
if (by_group) {
grouping_cols <- c(grouping_cols, "demography_group")
}
n_replicates <- 1 # set dummy value
if ("replicate" %in% colnames(data)) {
grouping_cols <- c(grouping_cols, "replicate")
n_replicates <- max(data[["replicate"]])
Expand Down

0 comments on commit dacc084

Please sign in to comment.