plot_cod | R Documentation |
Plot function for COD data
plot_cod(cod, perc = FALSE, type = "barplot")
cod |
Causes of death matrix containing death counts corresponding to the population and time period of the life table; |
perc |
Logical. If TRUE data will be displayed as percentages else as absolute values. Default: FALSE. |
type |
Options: "barplot" or "piechart". #' @examples D <- data_gbd2021_cod # cod data cod <- D[D$region == "Romania" & D$sex == "both" & D$period == 2021, ] plot_cod(cod) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.