strat_mean | R Documentation |
Calculates the stratified mean biomass and abundance. Also calculates the associated variance and standard error.
strat_mean(
prepData,
groupDescription = "SVSPP",
filterByGroup = "all",
mergesexFlag = T,
seasonFlag,
areaDescription,
poststratFlag
)
prepData |
Data table. NEFSC survey data generated by |
groupDescription |
Character string. Column of |
filterByGroup |
Character or numeric vector. Set of groups to subset from
|
mergesexFlag |
Boolean. Logical value to merge sexed species such as dogfish. |
seasonFlag |
Boolean. Logical value to merge seasons (F) or keep them separate (T). |
areaDescription |
Character String. Column name from |
poststratFlag |
Boolean. Logical value indicating whether the original strata design was used or not. Changes the calculation for the variance for post-stratified uses of survey data. |
Returns a table with stratified mean biomass and abundance for each group
indicated by the groupDescription
. In addition, the variance and standard
error for both means are provided.
Other survdat:
calc_stratified_mean()
,
calc_swept_area()
,
get_area()
,
get_length_weight()
,
get_survdat_clam_data()
,
get_survdat_data()
,
get_survdat_scallop_data()
,
post_strat()
,
swept_area()
## Not run:
# Called internally
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.