TimeInstantDataFrame-class
TimeInstantDataFrame(when, timezone = "UTC", data = NULL,
...)
POSIXct
). It gives the
instant of each row.timezone
).NULL
(hence the
data.frame has zero column and as much rows as needed).TimeInstantDataFrame
object.when
and data
are given,
data
must have a number of rows identical to the
length of when
.To access to the class documentation, type in the R console :
class?TimeInstantDataFrame
TimeIntervalDataFrame
,
RegularTimeInstantDataFrame
,
timetools
TimeInstantDataFrame (
c('2010-01-01', '2010-02-01'),
'UTC', data.frame(ex=1:2) )
TimeInstantDataFrame (c('2010-01-01', '2010-02-01', '2010-02-02'), 'UTC')
Run the code above in your browser using DataLab