groupOAG: Group down to a new open age class.

View source: R/utilsAge.R

groupOAGR Documentation

Group down to a new open age class.

Description

This simple utility lowers the open age group. It only returns the input value vector, not the age vector.

Usage

groupOAG(Value, Age, OAnew)

Arguments

Value

numeric. Vector of counts.

Age

integer. Vector of age classes.

OAnew

The desired open age group.

Value

Value vector potentially of reduced length up to OAG.


timriffe/DemoTools documentation built on Oct. 14, 2024, 12:53 p.m.