calcOverlap | R Documentation |
Calculates the percent of polygon overlap between each group and level.
calcOverlap(estObj)
estObj |
List object of class estObj containing returned sf data frames from estimating functions estKIN, etc. |
A data.frame containing the percent of the polygon overlap for each group and level. Rows are the 1st input polygon, columns are the 2nd input, the returned area of overlap is divided by the area of the 1st polygon (row).
Shannon E. Albeke, Wyoming Geographic Information Science Center, University of Wyoming
library(rKIN)
data("rodents")
#estimate niche overlap between 2 species using kernel UD
test.kin<- estKIN(data=rodents, x="Ave_C", y="Ave_N", group="Species",
levels=c(50, 75, 95), scaler=2)
#determine polygon overlap for all polygons
dat.olp<- calcOverlap(test.kin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.