CDCgov / ww-inference-model

An in-development R package and a Bayesian hierarchical model jointly fitting multiple "local" wastewater data streams and "global" case count data to produce nowcasts and forecasts of both observations
https://cdcgov.github.io/ww-inference-model/
Apache License 2.0
15 stars 2 forks source link

Modify `plot` methods #200

Open kaitejohnson opened 3 days ago

kaitejohnson commented 3 days ago

Goal

Realizing two issues with the current plot() method as we run on real data:

  1. Lots of sites doesn't print well bc we are including the x axis dates in every facet. Might even want the option to turn off dates?
  2. The hospital admissions plots need evaluation data -- this should be optional since it won't be available in real-time!
gvegayon commented 3 days ago

The hospital admissions plots need evaluation data -- this should be optional since it won't be available in real-time!

Yes!

Lots of sites doesn't print well bc we are including the x axis dates in every facet. Might even want the option to turn off dates?

The beauty of ggplot2 is that we could return a rather minimal grob (graphical object) which users can tailor afterwards; so yeah, we could have many optional, including dates.