Description Usage Arguments Value Author(s) Examples
Format date variable from character to R class “POSIXct” so that we can manipulate with date variables
1 | FormatDate(dat, yy, mm)
|
dat |
A data.frame, has at least one key variable:
|
yy |
A numeric value specifies the year of the data set. |
mm |
A numeric value specifies the month of the data set. |
A data.table, has at least one key variable:
RESULT.DATE an object of classes “POSIXlt” and “POSIXct” representing calender date and times.
Ying Chen
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.