as.mondate: As.Mondate Method

View source: R/mondate.r

as.mondateR Documentation

As.Mondate Method

Description

Coerce an object to class mondate.

Usage

as.mondate(x, ...)

Arguments

x

an R object.

...

optional arguments passed to other methods.

Details

This is a convenience function that simply calls the appropriate mondate conversion method depending on the class of x.

Value

A mondate if coersion is successful.

Author(s)

Dan Murphy

See Also

mondate-methods

Examples

y <- as.Date("2012-12-31")
as.mondate(y)

chiefmurph/mondate documentation built on Aug. 29, 2022, 4:13 p.m.