origin

0th

Percentile

Chron Origin

Get and set chron origin.

Keywords
chron
Usage
origin(x)
origin(x) <- value
Arguments
x

a chron object

value

month, day, year vector

Details

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

Value

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

Note

The default origin for chron objects is January 1, 1970 and it is recommended that that origin be used. Some chron functions may not perform properly with a non-default origin.

See Also

chron

Aliases
  • origin
  • origin<-
Examples
# NOT RUN {
ch <- as.chron(Sys.Date())
origin(ch)
# }
Documentation reproduced from package chron, version 2.3-53, License: GPL-2

Community examples

Looks like there are no examples yet.