| formatDate {surveillance} | R Documentation |
Convert Dates to Character (Including Quarter Strings)
Description
An extension of format.Date with additional formatting
strings for quarters. Used by linelist2sts.
Usage
formatDate(x, format)
Arguments
x |
a |
format |
a character string, see
|
Value
a character vector representing the input date(s) x
following the format specification.
See Also
Examples
formatDate(as.Date("2021-10-13"), "%G/%OQ/%q")
[Package surveillance version 1.23.0 Index]