plot.population | R Documentation |
Plot an age pyramid from age pyramid data frame with possibly several characteristics.
## S3 method for class 'population'
plot(
x,
group_colors = NULL,
group_legend = "Group",
age_breaks = NULL,
value_breaks = NULL,
...
)
x |
Object of class population. |
group_colors |
(Optional) Named character vector. |
group_legend |
(Optional) Legend title name. By default set to |
age_breaks |
(Optional) An ordered vector of indexes of vector |
value_breaks |
(Optional) Breaks for the axis of values. |
... |
Additional arguments |
Plot of age pyramid.
plot.pyramid
, age_pyramid.population
.
plot(population(EW_pop_14$sample), time = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.