homerangeoverlap: Home Range Overlap

View source: R/apps_of_riverdistance.R

homerangeoverlapR Documentation

Home Range Overlap

Description

Returns matrices describing the overlap of the minimum observed home range for multiple observations of each individual fish.

Usage

homerangeoverlap(x)

Arguments

x

An object returned from homerange.

Value

A list of three matrices, with $either giving the distances represented by the union of home ranges of each pair of individuals, and $both giving the distances represented by the intersection of home ranges of each pair of individuals. Element $prop_both gives the proportion of overlap, defined as intersection/union.

Author(s)

Matt Tyers

See Also

homerange, plot.homerange, plothomerangeoverlap

Examples

data(Gulk, fakefish)
ranges <- with(fakefish, homerange(unique=fish.id, survey=flight, seg=seg, vert=vert, rivers=Gulk))
ranges

# 19 plots will be produced, recommend calling par(mfrow=c(4,5))
plot(ranges)
plot(ranges,cumulative=TRUE,label=TRUE)

homerangeoverlap(ranges)

plothomerangeoverlap(ranges)
with(fakefish, riverpoints(seg=seg, vert=vert, rivers=Gulk))

riverdist documentation built on Aug. 22, 2023, 5:06 p.m.