powered by
Get and set chron origin.
origin(x) origin(x) <- value
The origin function returns a month, day, year vector.
origin
a chron object
month, day, year vector
origin extracts the origin of its argument. origin<- sets the origin of its argument.
origin<-
chron
ch <- as.chron(Sys.Date()) origin(ch)
Run the code above in your browser using DataLab