itsInterp: Interpolation Functions for Irregular Time-Series Objects

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Interpolation functions for objects of class "its".

Usage

1
locf(x)

Arguments

x

an object of class "its" or NULL

Details

locf 'Last Observation Carry Forward'. NAs are replaced by the last preceding valid observation within the series.

Value

An object of class "its".

Author(s)

Giles Heywood

See Also

ts, POSIXct, itsFile, itsLags, itsJoin, itsTimes, itsSubset, itsFin,

Examples

1
2
3
4
5
6
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))

armstrtw/its documentation built on May 10, 2019, 1:42 p.m.