Learn R Programming

riverdist (version 0.17.0)

homerangeoverlap: 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)

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.

Arguments

x

An object returned from homerange.

Author

Matt Tyers

See Also

homerange, plot.homerange, plothomerangeoverlap

Examples

Run this code
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))

Run the code above in your browser using DataLab