fillHoles | R Documentation |
Fill Holes Linearly interpolate values for strings (up to specified length) of missing data. Created by CTS, 31 July 2009.
fillHoles(dataIn, maxLength, timeStep)
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. |
A data frame with same format as dataIn, but with values interpolated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.