Releases: pfmc-assessments/nwfscSurvey
Releases · pfmc-assessments/nwfscSurvey
Add new composition functions and option to turn off standard filtering
The following functions have been added to the package:
get_expanded_comps()
: This function estimates expanded composition data for length or age data. This function expands the composition data in the same manner as theSurveyLFs.fn()
and theSurveyAFs.fn()
functions. TheSurveyLFs.fn()
and theSurveyAFs.fn()
functions remain in the package but will deprecated at some point in the future once users are comfortable with the newget_expanded_comps()
function.get_input_n()
: This function calculates input sample size via three alternative methods: total samples, number of positive tows, or based on Stewart and Hamel, 2014. This function is similar to the existingGetN.fn()
function but has expanded functionality. Additionally, the newget_input_n()
function is called within theget_expanded_comps()
functions for SS3 formatted composition data.
The following functions have been modified:- All of the
pull_*
functions have been modified to allow users to either apply standard data filtering or to retain all data viastandard_filtering
argument. Additionally, the data pulling functions now report information on the number of samples that are removed withstandard_filtering = TRUE
ifverbose = TRUE
.
2.4: add new functions to calculate design based indices and to plot indices
Soft deprecates the Biomass.fn()
, PlotBio.fn()
, and PlotBioStrata.fn()
and replaces with get_design_based()
and plot_index()
.
version increment for consistency with description
overhaul. Did the following: - cleaned up all documentation / errors so package checks cleanly - documented data - added Github actions
nwfscSurvey Package (correction to treatment of unsexed fish) with documentation
Minor correction to the SS3AF function to include gender as an input to the function.
nwfscSurvey Package (correction to treatment of unsexed fish) with documentation
Version 1.5 did not include updated documentation. This has been corrected in this version.
nwfscSurvey Package (correction to treatment of unsexed fish)
This version includes a correction to the treatment for unsexed fish where:
- Not correctly adding the true unsexed fish to the sex ratio. It was adding a portion of all fished.
- If a year and length bin had fish M + F + U, these were being completely removed when not doing the sex ratio.
- Expansions were incorrectly applied when a tow had a mix of U and Sexed fish.
Original nwfscSurvey Package
This package is the version used to process survey data 2017 and earlier. The code works with the csv files for the NWFSC shelf-slope survey. The "EWC" functions work with the AFSC Slope & Triennial surveys.