Create dataset of class catch

Description

Creates catch objects out of information on gillnet catches. These objects are required for use with the software in this package.

Usage

1
2
3
4
5
6
7
8
make.catch(mesh, lens, counts, binsize = 20,
  data.name = deparse(substitute(lens)))

## S3 method for class 'catch'
plot(x, y, mesh.pos = "topleft", y.incr = 200,
  cex.mesh = 1, cex.fork = 1, cex.main = 1.5, cex.xaxis = 1,
  cex.yaxis = 1, mar = c(1, 4, 0, 1), oma = c(4, 0, 4, 0),
  line.fork = 2, line.main = 2, ...)

Arguments

mesh

a vector of gillnet mesh sizes (one for each fish).

lens

a vector of fish lengths (one for each fish).

counts

optional. not important for now. I'll explain later.

binsize

positive number giving the size of the histogram bins that fish lengths are categorized into.

data.name

name of the data set.

x

an object of class catch.

y

not used...only present for consistency with default S3 method.

mesh.pos

a character string indicating where to print the mesh sizes. see legend for more details.

y.incr

increment of the y-axis scales

cex.mesh

relative point size of text indicating mesh sizes.

cex.fork

relative point size of text indicating fork lengths.

cex.main

relative point size of main title.

cex.xaxis

relative point size of x-axis.

cex.yaxis

relative point size of y-axis.

mar

margins of each individual plot.

oma

margins of overall plot.

line.fork

line for the text indicating fork lengths.

line.main

line for the main title.

...

additional arguments to pass to par.

Value

An object of class catch with components:

counts a number-of-length-bins by number-of-mesh-sizes matrix of fish counts.

lens a vector of the mid-point lengths corresponding to the rows of counts (note difference between input lens).

mesh a vector of the raw (i.e. uncorrected by perimeter.factor in fit.catch) mesh sizes corresponding to the columns of counts (note difference between input mesh).

Author(s)

Steve Walker

See Also

fit.catch, plot.catch