pairwise.dist | R Documentation |
Given a random field defined by (x, y) and observation value z, this function calculates the distance between each location pair and appends original observation values into the same row. The output can be exploited to calculate spatial correlations. Note that only Euclidean distance is supported merely for this time.
pairwise.dist(x, y, z)
x, y |
the coordinates of given random field |
z |
the observation value for each point (x,y) |
the data frame of c('r', 'z1', 'z2')
spatial.corr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.