Description Usage Arguments Value Warning Author(s) References See Also Examples
If a lfobj 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.
1 | lfnainterpolate(lfobj)
|
lfobj |
An object of class "lfobj" |
lfobj |
An object of class "lfobj" |
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, WMO-No. 1029, 136p.
1 2 3 4 5 6 7 8 9 | 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)
|
Loading required package: xts
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: lmom
Loading required package: lattice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.