homerangeoverlap: Home Range Overlap

Description Usage Arguments Value Author(s) See Also Examples

View source: R/apps_of_riverdistance.R

Description

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

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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 Sept. 10, 2021, 9:06 a.m.