Arguments
data
Matrix of data: either mortality rates or fertility rates
pop
Matrix of population values of same dimension as data. These are population numbers as at 30 June of each year (i.e., the "exposures"). So, for example, the number of deaths is data*pop if data contains mortality rates.
ages
Vector of ages corresponding to rows of data
.
years
Vector of years corresponding to columns of data
.
type
Character string showing type of demographic series:
either mortality, fertility or migration.
label
Name of area from which the data are taken.
name
Name of series: usually male, female or total.
lambda
Box-Cox transformation parameter.