Description Usage Arguments Details Value Author(s) See Also Examples
Coerce an object to class mondate.
1 | as.mondate(x, ...)
|
x |
an R object. |
... |
optional arguments passed to other methods. |
This is a convenience function that simply calls the
appropriate mondate
conversion method depending
on the class of x
.
A mondate
if coersion is successful.
Dan Murphy
1 2 | y <- as.Date("2012-12-31")
as.mondate(y)
|
Attaching package: 'mondate'
The following object is masked from 'package:base':
as.difftime
mondate: timeunits="months"
[1] 2012-12-31
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.