R/delta.R

Defines functions delta

Documented in delta

delta <-
function(SpA, SpB){
  sum(apply(cbind(SpA, SpB), 1, function(x){abs(diff(x))/2}))
}

Try the introgress package in your browser

Any scripts or data that you put into this service are public.

introgress documentation built on May 2, 2019, 7:24 a.m.