aec_age_trend_rate_pc_change | R Documentation |
Plot the change in rate as a percentage from first year of surveillance.
aec_age_trend_rate_pc_change(data, collection)
data |
a dataframe containing the following variables: fyear6, age_group_new, sex, rate |
collection |
A string giving either "CDI" or "bacteraemia". This determines the age groups |
A ggplot2 object
aec_age_trend_pc
aec_age_trend_rate
data(age_trends_data)
p <- aec_age_trend_rate_pc_change(data = age_trends_data, collection = "CDI")
p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.