Description Usage Arguments Details Value Methods (by generic) Author(s)
This function handles manipulation of a provided data set (in the form of a data
frame, from read.csv
or similar) to a form that can be used by other
bsmData
functions.
1 2 3 4 5 |
y1 |
the count for the codend or experimental trawl |
y2 |
the count fo the cover or control trawl |
n |
the total fish caught in the trawl |
length |
the length of fish |
length.unit |
the unit of length measurements |
haul |
the haul id |
q1 |
sampling fraction for codend/experimental trawl |
q2 |
sampling fraction for cover/experimental trawl |
paired |
logical, is the data from a paired trawl? |
data |
the name of the data frame. If |
... |
additional variables can be passed to the object, such as weights, mesh sizes, and any other covariates to be used in later modelling |
x |
a bsmData object |
The simplest use is where a data frame is provided, and the required column names are specified as function arguments.
It is also possible to supply vectors and no data frame.
An object of class bsmdf
. This is a list with necessary information,
and is what should be supplied as the data
argument to other
bsmData
functions.
print
: Print information about the data object
Tom Elliott
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.