Terminal Times and Range
Extracts the time the first or last observation was taken, or computes the range.
## S3 method for class 'timeDate' start(x, ...) ## S3 method for class 'timeDate' end(x, ...) ## S3 method for class 'timeDate' min(..., na.rm = FALSE) ## S3 method for class 'timeDate' max(..., na.rm = FALSE) ## S3 method for class 'timeDate' range(..., na.rm = FALSE)
x |
an object of class |
... |
[start][end] - |
na.rm |
not used. |
Note, the series will be time ordered before the start or end time stamps are extracted. Sorting is done in the way that the first observation appears in time before the last observation.
returns an object of class timeDate
.
## timeCalendar - # Random Calendar Dates: tR = sample(timeCalendar()) sort(tR) tR ## start | end - start(tR) end(tR) ## The First and Last Time Stamp: tR[1] tR[length(tR)] rev(tR)[1] ## The Range: c(start(tR), end(tR)) range(tR)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.