spatial.corr: Calculate spatial correlation of a 2D region

View source: R/stcorr.R

spatial.corrR Documentation

Calculate spatial correlation of a 2D region

Description

Calculate spatial correlation of a 2D region

Usage

spatial.corr(x, y, z, beta = 0.05, corr.method = "pearson")

Arguments

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")

Value

r distance between a pair of locations

n the number of location pairs for specific distance

corr the correlation value for specific distance

See Also

pairwise.dist


caesar0301/movr documentation built on June 18, 2022, 2:37 a.m.