Open d-morrison opened 8 months ago
Here's the code that needs decomposing:
https://github.com/UCD-SERG/serocalculator/blob/b61bdb0a91ea2e6b0b7c955a1d2b379de88845fd/vignettes/articles/scrubTyphus_example.Rmd#L126-L138
[ ] create a type argument to specify which graph you want; this option should be type = "age-scatter".
type
type = "age-scatter"
[ ] The pre-existing version of autoplot.pop_data() should be type = "density".
autoplot.pop_data()
type = "density"
Replace example code with function code
Here's the code that needs decomposing:
https://github.com/UCD-SERG/serocalculator/blob/b61bdb0a91ea2e6b0b7c955a1d2b379de88845fd/vignettes/articles/scrubTyphus_example.Rmd#L126-L138
[ ] create a
type
argument to specify which graph you want; this option should betype = "age-scatter"
.[ ] The pre-existing version of
autoplot.pop_data()
should betype = "density"
.