Description Usage Arguments Details Value
Inverse distance weighted interpolation
1 | idw_matrix(vals, dist, pow = 2)
|
vals |
A location-by-value matrix |
dist |
Distance to each value |
pow |
Power to use for distance |
Interpolation is done assuming locations are in the rows of vals. Thus, if vals is an n by m matrix, each of the m output values will be the inverse distance weighted average for the n sites
The inverse distance weighted average of vals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.