Skip to contents

Data frame containing an age pyramid, with at least an age and a value column, and eventually some other characteristics. If a male column is present, it must be a logical vector, if a group column is present, it must be a vector of type character.

Usage

pyramid(x)

Arguments

x

Data frame, containing at least an age and a value column

Value

Given data frame augmented of the "age_pyramid" class.