convert_datatable_DateIDate: Find and convert data.table columns from POSIX to IDate

Description Usage Arguments Details Author(s) See Also

View source: R/convert_datatable_DateIDate.R

Description

Converts a data.table's columns from Dates to IDates. This conversion is done BY REFERENCE meaning that the original data.table is modified.

Usage

1

Arguments

dat

A data.table

cols

(optional) A subset of columns to search (see details)

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.

Author(s)

Gene Leynes

See Also

data.table as.IDate set


geneorama/geneorama documentation built on Oct. 17, 2020, 12:35 a.m.