Prep_loc_dist: Prepare loc.dist for idw special case

Description Usage Arguments

View source: R/geoR_dist_functions.R

Description

Prepare loc.dist for idw special case

Usage

1
Prep_loc_dist(loc.dist, nmin = 1, nmax, max.dist)

Arguments

loc.dist

Matrix of distances between data (rows) and locations (cols)

nmin

if the number of nearest observations within distance maxdist is less than nmin, a missing value will be generated; see maxdist

nmax

the number of nearest observations that should be used for a kriging prediction or simulation, where nearest is defined in terms of the space of the spatial locations. By default, all observations are used

max.dist

Maximum distance radius for neighbours search in the idw interpolation.


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