leastCost: Extracts the least cost from a least-cost path.

Description Usage Arguments Value

View source: R/leastCost.R

Description

Sums the the distances of the samples in a least-cost path.

Usage

1
2
3
4
leastCost(
  least.cost.path = NULL,
  parallel.execution = TRUE
  )

Arguments

least.cost.path

dataframe produced by leastCostPath.

parallel.execution

boolean, if TRUE (default), execution is parallelized, and serialized if FALSE.

Value

A named list with least-cost values.

A named list with least cost values.


distantia documentation built on Oct. 30, 2019, 10:05 a.m.