smoothconv {rainfarmr} | R Documentation |
The input field is convolved with a circular kernel with equal weights. Takes into account missing values.
smoothconv(z, nas)
z |
matrix with the input field to smoothen, with dimensions |
nas |
the smoothing kernel uses a radius |
The smoothened field.
Jost von Hardenberg, j.vonhardenberg@isac.cnr.it
z <- rnorm(64 * 64)
dim(z) <- c(64, 64)
zs <- smoothconv(z, 8)
sd(zs)
# [1] 0.07910996