plot_mr: Plot Mark-Recapture Data

Description Usage Arguments Value See Also Examples

View source: R/plot.R

Description

Plots mark-recapture data as an x-y scatterplot where consecutive encounters with the same individual are joined by lines. The data must be in the same format as the ferox data provided with this package (only the two columns specified in the plot plus the Fish and Date columns are required).

Usage

1
2
plot_mr(x, xcol = "Length", ycol = "Mass", xlab = NULL, ylab = NULL,
  gp = NULL)

Arguments

x

A data.frame of the mark-recapture data to plot.

xcol

A string of the column to plot on the x-axis.

ycol

A string of the column to plot on the y-axis.

xlab

A optional string of the x-axis label.

ylab

A optional string of the y-axis label.

gp

An optional ggplot object

Value

A ggplot object.

See Also

ranmr

Examples

1
plot_mr(ranmrdata::ferox@data)

poissonconsulting/ranmr documentation built on May 25, 2019, 11:21 a.m.