deusthindwa / optimal.age.targeting.pneumo.vaccines

https://doi.org/10.1038/s41467-023-36624-8
MIT License
2 stars 0 forks source link

Better to set factor levels first #3

Closed samclifford closed 2 years ago

samclifford commented 2 years ago

https://github.com/deusthindwa/optimal.age.targeting.pneumo.vaccines/blob/e046d25ff512b6ed1bcc2bcd9417ae1be84ebf67/script/1_incidence.R#L115

This code setting factor levels keeps getting recycled

samclifford commented 2 years ago

This has been fixed by setting the factor levels earlier