plot.RelativeRetention: Plot relative retention values for each gear size.

Description Usage Arguments Value Examples

View source: R/gear_selectivity.R

Description

This is an S3 method for plot of class RelativeRetention. It allows the user to visually display relative retentions of each gear size and to view on each plot model deviance (for ease of deciding best fit).

Usage

1
2
## S3 method for class 'RelativeRetention'
plot(x, ...)

Arguments

x

Object of class RelativeRetention.

...

Passed on to other methods.

Value

Nothing. But does display (base R) line plot of relative renetions as a function of measured length (e.g., fork length). Plot title contains model name, model deviance, and true or false for "is standardized?". See default method RelativeRetention.

Examples

1
2
3
4
5
6
7
8
9
net_fit <- ApplyNetFit(
  data = trammel_catch,
  len = FL,
  mesh = MeshSize,
  meshUnit = "in",
  relPower = c(1,1,2)
)
rr <- RelativeRetention(net_fit)
plot(rr$norm.loc)

jasondubois/spopmodel documentation built on Dec. 4, 2019, 9:12 p.m.