View source: R/checkStrata.fn.R
CheckStrata.fn | R Documentation |
Calculate the number of observations by year and strata
CheckStrata.fn(
dir = NULL,
dat,
strat.vars = c("Depth_m", "Latitude_dd"),
strat.df,
printfolder = "forSS3",
verbose = TRUE
)
dir |
Directory where output will be saved. The directory where the file should be saved. If dir = NULL no output will be saved. |
dat |
Data-frame of the catch data that has been
created by |
strat.vars |
Variables in both data frame that are used to
define the stratas. Default is bottom depth (m) and latitudes (decimal
degrees), i.e., |
strat.df |
A data frame that defines the strata and provides the
calculated areas for each strata returned from |
printfolder |
A string that will be appended to |
verbose |
A logical that specifies if you want to print messages and
warnings to the console. The default is |
Calculates and returns the total number of tows and
positive tows conducted in each strata by year. The
selected stratas are used to expand the length and
marginal age compositions and to calculate a design
based index using the Biomass.fn()
.
A matrix with the number of tows within each strata by year and the number of positive tows by strata and year.
Chantel Wetzel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.