krige.conv.dist: Kriging. Modified from function krige.conv in geoR library.

Description Usage Arguments

View source: R/krige.conv.dist.R

Description

Kriging. Modified from function krige.conv in geoR library.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
krige.conv.dist(
  geodata,
  coords = geodata$coords,
  data = geodata$data,
  locations,
  borders,
  krige,
  output,
  dist.mat,
  loc.dist,
  loc.loc.dist
)

Arguments

geodata

a list containing elements coords and data as described next. Typically an object of the class "geodata" - a geoR data-set. If not provided the arguments coords and data must be provided instead.

coords

an n x 2 matrix or data-frame with the 2-D coordinates of the n data locations. By default it takes the component coords of the argument geodata, if provided.

data

a vector with n data values. By default it takes the component data of the argument geodata, if provided.

locations

an N x 2 matrix or data-frame with the 2-D coordinates of the N prediction locations, or a list for which the first two components are used. Input is internally checked by the function check.locations.

borders

optional. By default reads the element borders from the geodata object, if present. Setting to NULL prevents this behavior. If a two column matrix defining a polygon is provided the prediction is performed only at locations inside this polygon.

krige

a list defining the model components and the type of kriging. It can take an output to a call to krige.control or a list with elements as for the arguments in krige.control. Default values are assumed for arguments or list elements not provided. See the description of arguments in ‘krige.control’ below.

output

a list specifying output options. It can take an output to a call to output.control or a list with elements as for the arguments in output.control. Default values are assumed for arguments not provided. See documentation for output.control for further details.

dist.mat

Square matrix of distances between points of the dataset

loc.dist

is a n (data) x N (locations) matrix with distances between data points and prediction locations.

loc.loc.dist

is a N (locations) x N (locations) matrix with distances between prediction locations.


statnmap/GeoDist documentation built on Feb. 4, 2020, 8:34 p.m.