pyredufacet: Population Pyramid in MSDem ??

View source: R/pyramidfacet.r

pyredufacetR Documentation

Population Pyramid in MSDem ??

Description

This function generates a pyramid for a cntry x Time

Usage

pyredufacet(
  df1,
  year,
  area,
  scen,
  popunit = "Thousands",
  caption = NULL,
  nmlegend,
  ipal = 1,
  ixlab = "Age",
  iylab = "Population",
  female_nm = "female"
)

Arguments

df1

with five colums age, sex (male/female), edu, varfacet,value

year

year

area

region

scen

specific scenario

varfacet

variable to be faceted

Value

pyramid

Examples

pyredufacet(df1=df1,year=2015,area="ARM",scen="Baseyear",nmlegend="Education")

kcsamir/mdpop documentation built on Feb. 16, 2025, 7:48 a.m.