population_pyramid: Create a population pyramid plot

View source: R/population_pyramid.R

population_pyramidR Documentation

Create a population pyramid plot

Description

This function assumes three variables in the dataset: 1. sex (i.e. 'Male' vs 'Female) 2. age_group 3. n (count)

Usage

population_pyramid(data)

Arguments

data

dataframe which must include three variables (sex, age_group, and n)

Value

pyramid plot as a ggplot2 object


farhadsalimi/registryr documentation built on June 24, 2022, 12:23 a.m.