
Returns the time values for rwl and crn objects.
# S3 method for rwl
time(x, ...)
# S3 method for crn
time(x, ...)
An object of class "rwl"
or an aboject of class "crn"
.
Not used.
A numeric
vector of time (typically in years) for the object. This is done via as.numeric(rownames(x))
but has been asked for by users so many times that it is being included as a function.
# NOT RUN {
library(utils)
data(co021)
co021.yrs <- time(co021)
# }
Run the code above in your browser using DataLab