nearest_comp: Compute distance to nearest potential competitor

Description Usage Arguments Value Examples

Description

Determine the distance to nearest competitor within given timeframe

Usage

1
nearest_comp(x, fd, td = 0.5, ncpu = 84)

Arguments

x

data.frame to calculate distance to

fd

entire dataset that includes animals to calculate distance to

td

difference in time to look for animals, in hours

ncpu

number of cpus to use for calculations

Value

SSF Model ready data with distance to nearest competitor

Examples

1
system.time({ od<-lapply(dd,nearest_comp, fd=df, td=0.5, ncpu=84) })

MovingUngulate/DEERP documentation built on May 3, 2019, 8:34 p.m.