plot.select: Selectivity plot

Description Usage Arguments References Examples

View source: R/plot.select.R

Description

This function plots the selectivity estimates of the function select.

Usage

1
2
3
## S3 method for class 'select'
plot(x, regression_fit = TRUE, cols = c("darkgreen",
  "orange"), ...)

Arguments

x

a list of the class "select" containing the results of the gillnet selectivity function.

regression_fit

logical; indicating if a plot with the fit of the regression line should be displayed

cols

a specification for the two colours of the two selection curves. Default is c("darkgreen","orange").

...

additional parameters of the plot function

References

Sparre, P., Venema, S.C., 1998. Introduction to tropical fish stock assessment. Part 1. Manual. FAO Fisheries Technical Paper, (306.1, Rev. 2). 407 p.

Examples

1
2
3
4
5
6
7
data(tilapia)
output <- select(tilapia, plot = FALSE)
plot(output, regression_fit = TRUE)

data(bream)
output <- select(bream, plot = FALSE)
plot(output, regression_fit = TRUE)

tokami/TropFishR documentation built on Aug. 24, 2018, 11:31 p.m.