plot.homerange {riverdist}R Documentation

Plot Home Range

Description

Plotting method for home range, the minimum observed home range for multiple observations of each individual fish.

Usage

## S3 method for class 'homerange'
plot(
  x,
  cumulative = FALSE,
  lwd = 3,
  maxlwd = 10,
  col = 4,
  pch = 21,
  label = FALSE,
  main = NULL,
  ...
)

Arguments

x

An object returned from homerange.

cumulative

Whether to plot travel as cumulative, with line thickness depending on the number of times a given region was traveled by a given individual. Defaults to FALSE.

lwd

The line width for plotting homerange, or minimum line width if cumulative is TRUE. Defaults to 3.

maxlwd

The maximum line width if cumulative is TRUE. Defaults to 10.

col

The line color to use. Defaults to "blue".

pch

The point character to use for individual points. Defaults to open circles, the color of lines.

label

Whether to add survey labels to individual points, if used in homerange. Defaults to FALSE.

main

Plot title. If the default NULL is used, plots will be titled according to unique individual.

...

Additional plotting parameters, see plot.rivernetwork.

Author(s)

Matt Tyers, bug fix by Jordy Bernard

See Also

homerange, homerangeoverlap, 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))

[Package riverdist version 0.16.3 Index]