lfnainterpolate | R Documentation |
If a low flow object contains missing values, the missing values are replaced by connecting the last available value before the break and the first after the break by a straight line.
lfnainterpolate(lfobj)
lfobj |
An object of class |
lfobj |
An object of class |
with interpolated missing values
Check carefully in advance if interpolation is a reasonable choice for filling the hydrograph
Daniel Koffler and Gregor Laaha
Gustard, A. & Demuth, S. (2009) (Eds) Manual on Low-flow Estimation and Prediction. Operational Hydrology Report No. 50, WNO-No. 1029, 136p.
bfplot
data(ngaruroro) # Part of the ngaruroro series with missing data hydrograph(ngaruroro, startdate = "1/7/1987", enddate = "1/9/1987",amin = FALSE) ngaruroroint <- lfnainterpolate(ngaruroro) # The completed hydrograph hydrograph(ngaruroroint, startdate = "1/7/1987", enddate = "1/9/1987",amin = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.