reconhub / incidence

☣:chart_with_upwards_trend::chart_with_downwards_trend:☣ Compute and visualise incidence
https://reconhub.github.io/incidence
Other
58 stars 13 forks source link

strange problem in plotting #121

Closed robertogattabs closed 4 years ago

robertogattabs commented 4 years ago

Probably it's my fault, but with the following lines:

dat <- ebola_sim$linelist$date_of_onset i.7 <- incidence(dat, interval = 7) plot(i.7)

I get the following plot:

image

thibautjombart commented 4 years ago

Hi there, it is a bug, which has been reported before. This PR should close it eventually, but in the meantime you can try this patch:

remotes::install_github("reconhub/incidence@issue_119")

For further comments / discussions, let's move to the original issue: https://github.com/reconhub/incidence/issues/119

robertogattabs commented 4 years ago

Thx!