Age Pyramid

agepyramid(data, age, gender, female)

Arguments

data

The data as a data frame.

age

.

gender

.

female

.

Value

A results object containing:

results$pyramidTablea table
results$plotan image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$pyramidTable$asDF

as.data.frame(results$pyramidTable)