Description Usage Arguments Details Author(s) See Also
View source: R/convert_datatable_DateIDate.R
Converts a data.table's columns from Dates to IDates. This conversion is done BY REFERENCE meaning that the original data.table is modified.
1 | convert_datatable_DateIDate(dat, cols = NULL)
|
dat |
A data.table |
cols |
(optional) A subset of columns to search (see details) |
The data.table is returned invisibly if needed.
The cols can be specified as a character vector of column names. The entire data.table is returned, but only the columns in "cols" are searched. A warning is produced if no columns are POSIX.
Gene Leynes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.