Skip to contents

Median age calculation

Usage

med.age(N, age, int = 1)

Arguments

N

Array with numeric values of population by age group (from young to old)

age

Array with numeric values age

int

Numeric value of age interval. For example, 1 or 5

Value

Numeric value