volOverlap: Spatial overlap between two utilization distributions

Description Usage Arguments Value

Description

This function takes two RasterLayer, RasterStack or RasterBrick objects with UD volumes and calculates the proportion of the volume that is overlapped within a probability contour.

Usage

1
volOverlap(ud1, ud2, level, symmetric = TRUE)

Arguments

ud1, ud2

RasterLayer, RasterStack or RasterBrick objects with the UD volumes to overlap. If it is a RasterStack or RasterBrick object, the number and name of the layers must coincide.

level

UD volume probability contour to be used to calculate the volume overlap.

symmetric

logical. If TRUE, the overlapped index is calculated referred to the total joint volume of the two UDs (volume(overlapped) / volume(ud1) + volume(ud2)). If FALSE, two overlap indexes are calculated, the first one referred to the volume of ud1 (volume(overlapped) / volume(ud1)), and the second one referred to the volume of ud2 (volume(overlapped) / volume(ud2)).

Value

A vector with one (if symmetric == TRUE or two (symmetric == FALSE) overlap indexes.


aspillaga/fishtrack3d documentation built on June 4, 2019, 9:14 a.m.