epiverse-trace / epiverse-trace/finalsize
Would a default control function be worthwhile?
Open
Discussion
- Dominant language
- R
- Stars
- 15
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
I wonder if this should call a `default_control()` function. This may be a little more tractable/transparent?
https://github.com/epiverse-trace/finalsize/blob/e059839623bd39504873eae5de6916a28fa643e8/R/final_size.R#L128-L134
It could become something like
```r
final_size <- function(r0 = 2.0,
contact_matrix,
demography_vector,
p_susceptibility,
susceptibility,
solver = c("iterative", "newton"),
control = default_controls(solver)) {
```
Contributor guide
Assessment
This issue has not been assessed yet.