"its"
locf(x)
locf
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))
Run the code above in your browser using DataLab