itsAccessor {its} | R Documentation |
Accessor & assignment functions for objects of class "its"
.
dates(x) names(x) core(x) dates(x) <- names(x) <- core(x) <-
x |
an object of class "its" |
dates
an accessor function, to access the time-stamps of the object.
names
an accessor function, to access the (column) names of the object.
core
an accessor function, to access the numeric data of the object.
dates
an assignment function to assign the time-stamps of the object.
names
an assignment function to assign the (column) names of the object.
core
an assignment function to assign the numeric data of the object.
For dates
a vector of class "POSIXct"
.
For names
a vector of mode "character"
.
For core
a matrix of mode"numeric"
.
For dates<-, names<-, and core<-
an object of class "its"
.
Giles Heywood
ts
,
POSIXct
,
itsFile
,
itsLags
,
itsJoin
,
itsTimes
,
itsSubset
,
itsFin
,
itsDisp
,
itsInfo
,
itsCumdif
,
itsArith
itsInterp
x <- newIts(1:10) dates(x) names(x) core(x) dates(x) <- seq.POSIXt(from=Sys.time()+11*24*60*60, to=Sys.time()+20*24*60*60, by="DSTday") names(x) <- "B" core(x) <- as.matrix(11:20)