make.D: Form the distance matrix for use in a Gaussian Process

Description Usage Arguments Value Author(s)

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

1
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

Author(s)

Alex Lenkoski <alex@nr.no>


spatial.gev.bma documentation built on May 1, 2019, 6:34 p.m.