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

Add example of using border color to show zero cases #115

Open zkamvar opened 5 years ago

zkamvar commented 5 years ago

@annecori has brought up the fact that the default incidence plots are ambiguous as to when the start and end dates are (e.g. it's difficult to tell if the end of the epicurve contains zero case).

We should include examples in the plotting vignette and the documentation showing that users can supply border = "black" that will show the zero days

thibautjombart commented 5 years ago

I agree, but in fact this applies, in general, to any zero incidence (before the first cases, after the last one), i.e. whatever the range of the dates in the incidence object is.

zkamvar commented 5 years ago

I agree, but in fact this applies, in general, to any zero incidence (before the first cases, after the last one), i.e. whatever the range of the dates in the incidence object is.

Yup, that's the point

thibautjombart commented 5 years ago

Sorry, misread the post, missed the 'start'