Description Usage Arguments Value Examples
Create a plot of epi measures from EpiModel simulation
1 2 3 4 5 6 7 |
plot_data |
Data object that is output from |
brk_across |
the attribute over which you want to break out the measure (for example race). |
targets |
A dataframe that contains the targets for the measure of interest. Note that plot_data should be specific to a singe measure. |
plot_type |
type of geom to call. Default is for a line plot (geom_line) when 'plot_type == "line"'. Otherwise 'geom_smooth' is called. |
year_range |
Range of years over which plot should be created. |
a ggplot object.
1 | # See vignette
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.