geoR_trf: Default transition function in geoR

Description Usage Arguments Details Value Examples

Description

Default function to use with transition. Defined as the geometric mean.

Usage

1

Arguments

x

numeric vector of length 2 with cost/conductivity non-negative numbers.

Details

To use another function, override this one by defining it using the same name.

Value

cost/conductivity value of the transition between neighbouring cells.

Examples

1
2
3
4
5
6
geoR_trf(c(0, 1))

   # redefine function
   geoR_trf <- mean

   geoR_trf(c(0, 1))

famuvie/geoRcb documentation built on May 16, 2019, 10:04 a.m.