ditFun: Calculate individual geolocation density

Description Usage Arguments Value Author(s) References Examples

View source: R/FUNCTION_ditFun.r

Description

Weight tagging location effects on species spatial distribution and overlap by giving a lower weight to shorter tracks.

Usage

1
ditFun(dta)

Arguments

dta

data.frame with animal geolocations. Must be in the following format: ID,date,x,y

Value

returns a data.frame cointaining original input data, plus a column with point density

Author(s)

Marisa Vedor, Ivo da Costa, Nuno Queiroz

References

Adapted from: BLOCK, Barbara A., et al. Tracking apex marine predator movements in a dynamic ocean. Nature, 2011, 475.7354: 86.

Examples

1
2
3
4
5
# Read Shark data
shkData <- data('trackPts')

ditData <- ditFun(dta = shkData)
head(ditData)

GlobalSharkMovement/GSMP_rpackage documentation built on Feb. 13, 2021, 8:01 a.m.