Validate the ageGroup argument. It must be a list of two integerish numbers lower age and upper age, both of the must be greater or equal to 0 and lower age must be lower or equal to the upper age. If not named automatic names will be given in the output list.
Source:R/validate.R
validateAgeGroupArgument.Rd
Validate the ageGroup argument. It must be a list of two integerish numbers lower age and upper age, both of the must be greater or equal to 0 and lower age must be lower or equal to the upper age. If not named automatic names will be given in the output list.
Usage
validateAgeGroupArgument(
ageGroup,
multipleAgeGroup = TRUE,
overlap = FALSE,
null = TRUE,
ageGroupName = "age_group",
call = parent.frame()
)