calcOverlap {rKIN} | R Documentation |
Calculate Percent Overlap of Isotopic Niche Space
Description
Calculates the percent of polygon overlap between each group and level.
Usage
calcOverlap(estObj)
Arguments
estObj |
List object of class estObj containing returned sf data frames from estimating functions estKIN, etc. |
Value
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).
Author(s)
Shannon E. Albeke, Wyoming Geographic Information Science Center, University of Wyoming
Examples
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)
[Package rKIN version 1.0.2 Index]