View source: R/plot_calibration.R
Plot calibration curves
1 2 3 4 5 6 7 8 9 10 |
predictions_cards |
Either one predictions_card or several joined together using bind_rows(). |
type |
One of "wedgeplot" or "traditional" |
facet_rows |
A variable name to facet data over. Creates a
separate row of plots for each value of specified variable. Can be used
with |
facet_cols |
Same as |
grp_vars |
variables over which to compare calibration. These
determines the color of the lines and faceting depending on |
avg_vars |
variables over which we average to determine the calibration. |
geo_type |
String indicating geographical type, such as "county", or "state". See the COVIDcast Geographic Coding documentation for available options. |
backfill_buffer |
How many days until response is deemed trustworthy enough to be taken as correct?. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.