Skip to contents

Function that returns the population pyramid plot of the municipality or department of a specific year

Usage

population_pyramid_plot(pop_pyramid, sex = TRUE)

Arguments

pop_pyramid

A dataframe with the age counts

sex

A boolean to consult data disaggregated by sex. The default value is TRUE

Value

the population pyramid plot