Description Usage Arguments Value
View source: R/plot_trajectory.R
Plot predictions along with truth
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
predictions_cards |
long data frame of forecasts with a class of
|
geo_type |
String indicating geographical type, such as "county", or "state". See the COVIDcast Geographic Coding documentation for available options. |
intervals |
vector of confidence intervals to show. More than 3 is ugly and will be reduced to the default set. |
plot_it |
should we actually produce the figure. If you have many geo_values or forecasters, best not to. Then you can assign the output to an object and facet or apply aesthetic specifications to meet your own standards. |
show_geo_value |
a subset of |
show_forecaster |
a subset of |
side_truth |
optional. Use your own truth data rather than downloading
with |
show_points |
do you want points as well as lines |
show_quantiles |
do you want to plot the quantiles or just lines |
nrow |
the number of rows present in the output plot. Similarly, |
ncol |
See |
... |
additional arguments passed to |
invisibly returns a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.