epiverse-trace / epichains

[Under active development] Methods for simulating and analysing the sizes and lengths of infectious disease transmission chains from branching process models
https://epiverse-trace.github.io/epichains/
Other
5 stars 2 forks source link

All `switch()` statements must error if there are no matches #200

Closed jamesmbaazam closed 7 months ago

jamesmbaazam commented 7 months ago

See the Advanced R book for the justification and fix many occurrences in the helper functions.