Compute cohort index from age and period index

coh(agegroup, period, noa, periods_per_agegroup)

Arguments

agegroup

age group index

period

period index

noa

number of age groups in total

periods_per_agegroup

periods per age group

Value

cohort index