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

View source: R/gev.R

make.DR Documentation

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

Author(s)

Alex Lenkoski <alex@nr.no>


NorskRegnesentral/SpatGEVBMA documentation built on July 22, 2023, 9:59 a.m.