ez.date | R Documentation |
convert to date with friendly ori (no need to remember exact origin date)
ez.date(x, ori = "Excel", format = "%m/%d/%Y", ...)
x |
a vector of char or num.
|
ori |
one of 'Excel', 'Matlab', 'R', 'SPSS', 'Javascript'. Ignored when x is character |
format |
specify in date format. Ignored when x is numeric. See examples (cannot have percentage sign here for documentation) |
returns a vector
ez.date
ez.is.date
ez.is.date.like
ez.age
ez.time
# format one of c("%d/%m/%Y", "%d-%m-%Y", "%Y/%m/%d", "%m/%d/%Y", "%Y-%m-%d"). %y for two year digits
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.