make_agegrid | R Documentation |
Creates an age grid according to a specified format
make_agegrid(
grid = c("compact", "classic", "extensive", "0-104w", "0-24m", "0-21y"),
unit = c("year", "month", "week", "day"),
dec = 4L
)
grid |
A character string specifying one of the following:
|
unit |
Character string specifying the time unit. Choices
are |
dec |
Number of decimals for the result. |
Numeric vector or NULL
Stef van Buuren, 2021
head(make_agegrid("classic"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.