distCalc: Generate an inverse distance matrix for points within a...

Description Usage Arguments Value

View source: R/distCalc.R

Description

Generate an inverse distance matrix for points within a landscape

Usage

1
distCalc(raster, coords, mat_type = "weight")

Arguments

raster

a raster upon which distance are calculated

coords

a file containing sample coordinates in lat long format

mat_type

an character string, indicating whether the returned matrix should contain spatial "weight" or absolute "distance".

Value

a square matrix containing the inverse pairwise distance between all points in coords.


kkeenan02/spcaHelper documentation built on May 20, 2019, 10:46 a.m.