spatial.corr | R Documentation |
Calculate spatial correlation of a 2D region
spatial.corr(x, y, z, beta = 0.05, corr.method = "pearson")
x, y |
the coordinates of given random field |
z |
the observation value for each point (x,y) |
beta |
the step value to map distances into bins |
corr.method |
the name of function to calculate correlation, one of c("pearson", "kendall", "spearman") |
r distance between a pair of locations
n the number of location pairs for specific distance
corr the correlation value for specific distance
pairwise.dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.