fillHoles: Fill Holes Linearly interpolate values for strings (up to...

View source: R/MFEmetab.R

fillHolesR Documentation

Fill Holes Linearly interpolate values for strings (up to specified length) of missing data. Created by CTS, 31 July 2009.

Description

Fill Holes Linearly interpolate values for strings (up to specified length) of missing data. Created by CTS, 31 July 2009.

Usage

fillHoles(dataIn, maxLength, timeStep)

Arguments

timeStep

The time step of the data.

dataIn:

A data frame with two columns, first is "datetime", second is data

maxLength:

Maximum length of NA string that you are willing to interpolate across. NOTE that this is given in minutes.

Value

A data frame with same format as dataIn, but with values interpolated.


MFEh2o/MFEUtilities documentation built on May 6, 2023, 1:33 p.m.