timeEvent class represents events that occur at specific
calendar times. It is useful for one-time events (e.g. the Gulf
War), recurring events (e.g. holidays, market opening and closing times),
and multiple related events (e.g. numbered Olympic games,
OPEC meetings, hurricanes).
list) (from
groupVec).
character) (from
groupVec), always
c("start", "end", "IDs").
CLASS) (from
groupVec), always
c("positionsCalendar", "positionsCalendar", "ANY").
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 S vector object; these three vectors are stored as
columns of a
groupVec. The
timeEvent class extends the
groupVec and
GV.virt
classes.
Objects of class
timeEvent
can be created using the
timeEvent function, or by
coercing any
positionsCalendar object to
timeEvent using
as.