leastCost {distantia}R Documentation

Extracts the least cost from a least-cost path.

Description

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

Usage

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.


[Package distantia version 1.0.2 Index]