plot.homerange: Plot Home Range

Description Usage Arguments Author(s) See Also Examples

View source: R/apps_of_riverdistance.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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

 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.