Rdocumentation
powered by
Learn R Programming
spatial.gev.bma (version 1.0)
make.D: Form the distance matrix for use in a Gaussian Process
Description
This takes two matrices containing the (lat,lon) locations of two collections of points and returns the matrix of euclidean distances between them.
Usage
make.D(x.1, x.2)
Arguments
x.1
An n1 by 2 matrix of the locations of the first set of points
x.2
An n2 by 2 matrix of the locations of the second set of points
Value
Returns an n1 by n2 matrix with the relevant Euclidean distances