w_azimuth | R Documentation |
Creates a matrix
with directions (i.e., azimuth) to central cell, of specified size k
. The matrix can be used as weight matrix when calculating the convergence index (see Examples).
w_azimuth(k)
k |
Neighborhood size around focal cell. Must be an odd number. For example, |
A matrix
where each cell value is the azimuth from that cell towards the matrix center.
m = w_azimuth(3)
m
m = w_azimuth(5)
m
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.