enw_plot_obs | R Documentation |
Generic quantile plot
enw_plot_obs(obs, latest_obs = NULL, log = TRUE, ...)
obs |
A |
latest_obs |
A |
log |
Logical, defaults to |
... |
Additional arguments passed to |
A ggplot2
plot.
Plotting functions
enw_plot_nowcast_quantiles()
,
enw_plot_pp_quantiles()
,
enw_plot_quantiles()
,
enw_plot_theme()
,
plot.epinowcast()
nowcast <- enw_example("nowcast")
obs <- enw_example("obs")
# Plot observed data by reference date
enw_plot_obs(obs, x = reference_date)
# Plot observed data by reference date with more recent data
enw_plot_obs(nowcast$latest[[1]], obs, x = reference_date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.