Run_gdistance: Get cost distance using gdistance Execute gdistance

View source: R/Run_gdistance.R

Run_gdistanceR Documentation

Get cost distance using gdistance Execute gdistance

Description

Get cost distance using gdistance Execute gdistance

Usage

Run_gdistance(gdist.inputs, r, scl)

Arguments

gdist.inputs

Object created from running gdist.prep function

r

Accepts two types of inputs. Provide either the path to the resistance surface file (.asc) or specify an R RasterLayer object

scl

scale the correction values (default is TRUE). No scaling should be done if the user wants to obtain absolute distance values as output. See geoCorrection for details

Value

A costDistance matrix object from gdistance

Author(s)

Bill Peterman <Peterman.73@osu.edu>

Examples

 
## Not run:
## *** TO BE COMPLETED *** ##

## End (Not run)

wpeterman/ResistanceGA documentation built on Nov. 20, 2023, 11:50 p.m.