View source: R/checkStrata.fn.R
CheckStrata.fn | R Documentation |
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 function.
CheckStrata.fn(
dir = NULL,
dat,
strat.vars = c("Depth_m", "Latitude_dd"),
strat.df,
printfolder = "forSS",
verbose = TRUE
)
dir |
Directory where the output csv file will be saved. |
dat |
Data-frame of the catch data that has been created by the PullCatch.fn function. |
strat.vars |
A vector of the strata variable names. The default input are c("Depth_m","Latitude_dd")) which are the two factors the define a strata area off the coast. |
strat.df |
Dataframe with the first column the name of the stratum, the second column the area of the stratum, and the remaining columns are the high and low variables defining the strata created by the CreateStrataDF.fn function. |
printfolder |
Folder name where files will be saved. The default is "forSS" which is also used by other package functions that creates and saves files that are commonly used or reported in Stock Synthesis or the assessment document. |
verbose |
A logical that specifies if you want to print messages and
warnings to the console. The default is |
Chantel Wetzel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.