cbb: cbb catch by block or sau plot

View source: R/candidate_functions.r

cbbR Documentation

cbb catch by block or sau plot

Description

cbb plots out the catch by block or by sau, A legend is produced if there is a matrix of values and is made up of the column names of the input catchb matrix.

Usage

cbb(ind, sau = "block", legloc = "topright", catch = "catch", year = "year")

Arguments

ind

the input data.frame or matrix

sau

the column name of the sau variable default = "block"

legloc

the location of the legend defaults to "topright", could be "topleft", "bottomleft", or "bottomright"

catch

the column name of the catch variable default = "catch"

year

the column name of the year variable default = "year"

Value

invisibly the catch by year by block as a matrix

Examples

## Not run: 
 ind=abd2;legloc="topright";sau="block";catch="catch";year="year"

## End(Not run)

haddonm/rforcpue documentation built on Oct. 12, 2024, 11:55 p.m.