getAgeGroup: Returns an age group for a given age in years

View source: R/helpers.R

getAgeGroupR Documentation

Returns an age group for a given age in years

Description

Returns an age group for a given age in years

Usage

getAgeGroup(age, br)

Arguments

age

the age in years

br

the intervall in years to build groups on

Value

Vector of single character string containing a string like '20-30'

Author(s)

Stefan Bartels, email@biobits.eu

Examples

getAgeGroup(53,10)


biobits/bbhelper documentation built on Feb. 11, 2025, 4:53 p.m.