is_abridged | R Documentation |
A logical utility that checks if a given vector is of the lower bounds of abridged age groups or not.
is_abridged(Age)
Age |
integer. Vector of lower age bounds. |
Logical TRUE
if abridged, FALSE
otherwise.
# as expected, TRUE
is_abridged(c(0,1,5,10,15,20,25))
# standard 5, not abridged, FALSE
is_abridged(c(0,5,10,15,20,25))
# plausible, TRUE
is_abridged(c(1,5,10,15,20,25))
# plausible, TRUE
is_abridged(c(5,10,15,20,25))
# 10 year age group not abridged, FALSE
is_abridged(c(0,1,5,10,15,25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.