| timeEvent-class | R Documentation |
The timeEvent class represents events that occur at specific
calendar times. It is useful for one-time events (for example, the Gulf
War), recurring events (for example, holidays or market opening and closing times),
and multiple related events (for example, the numbered Olympic games,
OPEC meetings, or hurricanes).
The timeEvent class is set up to hold vectors of starting and ending
times of events, as well as an identifier for each event, which can be
stored in any vector object. These three vectors are stored as
columns of a groupVec. The timeEvent class extends the groupVec class.
Create objects of class timeEvent
either by using the timeEvent function, or by
coercing any positionsCalendar object to timeEvent using as.
Create objects using calls of the form new("timeEvent",
...) or timeEvent.
(list) (from groupVec). Always should be a list with
three elements.
(character) (from groupVec). Always
c("start", "end", "IDs").
(character) (from groupVec). Always
c("positionsCalendar", "positionsCalendar", "ANY").
groupVec class,
positionsCalendar
class, timeEvent function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.