extractDate | R Documentation |
Extract the date in the filename and converts it into a POSIX object.
extractDate(x, split = "_", position = 2, as.POSIXlt = TRUE)
x |
filename |
split |
argument to isolate the date information default |
position |
|
as.POSIXlt |
default |
If as.POSIXlt == FALSE
a character
string with the extracted date part
If as.POSIXlt == TRUE
a sting of POSIXlt objects string.
Matteo Mattiuzzi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.