chron (version 2.3-51)

origin: Chron Origin

Description

Get and set chron origin.

Usage

origin(x)
origin(x) <- value

Arguments

x

a chron object

value

month, day, year vector

Value

The origin function returns a month, day, year vector.

Details

origin extracts the origin of its argument. origin<- sets the origin of its argument.

See Also

chron

Examples

Run this code
# NOT RUN {
ch <- as.chron(Sys.Date())
origin(ch)
# }

Run the code above in your browser using DataCamp Workspace