| itsAccessor {its} | R Documentation |
Accessor & assignment functions for objects of class "its".
dates(x,...) names(x) core(x) dates(x) <- value names(x) <- value core(x) <- value
x |
an object of class "its" |
... |
further arguments passed to or from other methods |
value |
value to be assigned into dates, names, or core |
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(from=Sys.time()+11*24*60*60,
length.out=10,
by="DSTday")
names(x) <- "B"
core(x) <- as.matrix(11:20)