Skip to contents

Compute average age of a population #' Calculate the average age of a population given its age structure.

Usage

average_age(naa, ages)

Arguments

naa

numbers-at-age vector

ages

vector of ages