validateAgeGroupArgument | R Documentation |
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.
validateAgeGroupArgument(
ageGroup,
multipleAgeGroup = TRUE,
overlap = FALSE,
null = TRUE,
ageGroupName = "age_group",
call = parent.frame()
)
ageGroup |
age group in a list. |
multipleAgeGroup |
allow mutliple age group. |
overlap |
allow overlapping ageGroup. |
null |
null age group allowed true or false. |
ageGroupName |
Name of the default age group. |
call |
parent frame. |
validate ageGroup
validateAgeGroupArgument(list(c(0, 39), c(40, Inf)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.