locUloc: Calculate the Distance Matrix Between Observed and Predicting Locations
Description
This function calculates the distance matrix between observed and predicting locations.
Usage
locUloc(loc, locp)
Arguments
loc
a matrix of $n \times 2$ which indicates the x-y coordinates of the observed locations; if a vector is used, it will be converted to matrix automatically
locp
a matrix of $m \times 2$ which indicates the x-y coordinates of the predicting locations; if a vector is used, it will be converted to matrix automatically
Value
A $m \times n$ matrix with the element $e_{ij}$ indicating the distance between the ith predicting location and the jth observed locations.
Details
This function calls the underlying C++ program to do the computation.