determine_age_int: Helper function to identify unique age interval for input...

View source: R/survivorship_ratio.R

determine_age_intR Documentation

Helper function to identify unique age interval for input data.table

Description

Identifies age intervals present excluding the terminal age group and asserts it is uniform across the input data.table.

Usage

determine_age_int(dt)

Arguments

dt

[data.table()]
Input data that includes columns for id_cols, 'lx', 'nLx' and 'Tx'.

Value

[numeric(1)] unique age interval


ihmeuw-demographics/demCore documentation built on Feb. 24, 2024, 11:05 p.m.