intervals | R Documentation |
An Interval is elapsed time in seconds between two specific years.
intervals(start, end, calendar, ...)
## S4 method for signature 'RataDie,RataDie,missing'
intervals(start, end, names = NULL)
## S4 method for signature 'numeric,numeric,TimeScale'
intervals(start, end, calendar, scale = 1, names = NULL)
start |
A |
end |
A |
calendar |
A |
... |
Currently not used. |
names |
A |
scale |
A length-one |
A TimeIntervals
object.
N. Frerebeau
## Create time intervals
int <- intervals(
start = c(625, 700, 1200, 1225, 1250, 500, 1000, 1200,
1325, 1375, 1200, 1300, 1375, 1275, 1325),
end = c(750, 825, 1250, 1275, 1325, 700, 1300, 1325,
1400, 1500, 1300, 1375, 1500, 1325, 1425),
calendar = CE()
)
## Plot intervals
plot(int) # Default calendar
## Overlap
overlap(int, calendar = CE())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.