knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
LoCoHverlap
(pronounced “Loke - Overlap”) is an R package to compare animal range overlaps using Local Convex Hull (LoCoH) home range estimators and Earth Mover’s Distance (EMD).
This vignette describes the workflows that are currently implemented in LoCoHverlap
, from the basic building block functions that provide the user with flexibility, to the advanced functions that are useful for answering specific ecological questions.
LoCoHverlap
currently has 3 distinct workflows:
We begin by loading the packages we will use in this vignette.
library(LoCoHverlap) library(dplyr) library(amt) library(raster) library(sf) library(lubridate)
Along with the package, I have provided some sample data to illustrate the functions and workflows. These data are simulated trajectories of 4 animals. Data are meant to be projected in UTM Zone 12 (on the WGS84 spheroid, i.e., EPSG:32612). Let's check the header of the data:
head(tracks)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.