| itsInterp {its} | R Documentation |
Interpolation functions for objects of class "its".
locf(x)
x |
an object of class "its" or NULL |
locf 'Last Observation Carry Forward'. NAs are replaced by the last preceding
valid observation within the series.
An object of class "its".
Giles Heywood
ts,
POSIXct,
itsFile,
itsLags,
itsJoin,
itsTimes,
itsSubset,
itsFin,
itsDisp,
itsInfo,
itsCumdif,
itsArith
x <- newIts(11:40,ncol=3) x[1:2,1] <- NA x[3:4,2] <- NA x[9:10,3] <- NA print(x) print(locf(x))