View source: R/ggplot_functions.R
This function takes a data.table object converted from socialmixR contact matrix objects from the socialmixR package by study
1 |
dt |
data.table object converted from socialmixR contact matrix objects |
breaks |
numeric vector passed to ggplot::scale_fill_gradientn breaks parameter |
age_lab |
character vector of age labels passed to ggplot::scale_x_discrete labels parameter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.