Description Usage Arguments Author(s) References Examples
Nearest neighbour interpolation
1 |
dat |
numeric vector |
Johannes Brenner johannes.brenner@ufz.de
http://stackoverflow.com/questions/10077415/replacing-nas-in-r-with-nearest-value
1 2 3 4 5 6 7 8 | library(zoo)
library(chron)
# load eddy covariance data
data(eses1)
# extract precipitation
P <- eses1$Precip
# nearest neighbor interpolation
P_interpol <- help_nearestNeighbourInt(P)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.