ImperialCollegeLondon / epidemia

epidemia package
https://imperialcollegelondon.github.io/epidemia/index.html
47 stars 15 forks source link

require populations to be numeric #46

Closed jscott6 closed 3 years ago

jscott6 commented 4 years ago

population vector is currently coerced to an integer. This can behave dangerously with factor variables. Propose to check that vector is at least numeric, else throw error

jscott6 commented 3 years ago

Population replaced with column of susceptibles in v0.7.0