View source: R/Run_gdistance.R
Run_gdistance | R Documentation |
Get cost distance using gdistance Execute gdistance
Run_gdistance(gdist.inputs, r, scl)
gdist.inputs |
Object created from running |
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 |
A costDistance matrix object from gdistance
Bill Peterman <Peterman.73@osu.edu>
## Not run:
## *** TO BE COMPLETED *** ##
## End (Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.