Learn R Programming

DDM (version 1.0-0)

single2abr: single ages to standard abridged ages

Description

convert ages of the form 0,1,2,3,4,5,... into 0,1,1,1,1,5,...

Usage

single2abr(x)

Arguments

x
vector of single ages (lower bound) a.k.a. completed age.

Value

vector of the same length indicating which abridged age group each single age belongs to (lower bound)