Skip to content

Releases: pfmc-assessments/nwfscSurvey

Add new composition functions and option to turn off standard filtering

17 Oct 21:50
4c476cb
Compare
Choose a tag to compare

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 the SurveyLFs.fn() and the SurveyAFs.fn() functions. The SurveyLFs.fn() and the SurveyAFs.fn() functions remain in the package but will deprecated at some point in the future once users are comfortable with the new get_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 existing GetN.fn() function but has expanded functionality. Additionally, the new get_input_n() function is called within the get_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 via standard_filtering argument. Additionally, the data pulling functions now report information on the number of samples that are removed with standard_filtering = TRUE if verbose = TRUE.

2.4: add new functions to calculate design based indices and to plot indices

21 Jun 16:29
Compare
Choose a tag to compare

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

25 Feb 15:32
Compare
Choose a tag to compare
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

12 Jul 20:49
Compare
Choose a tag to compare

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

27 Jun 20:44
Compare
Choose a tag to compare

Version 1.5 did not include updated documentation. This has been corrected in this version.

nwfscSurvey Package (correction to treatment of unsexed fish)

27 Jun 20:42
Compare
Choose a tag to compare

This version includes a correction to the treatment for unsexed fish where:

  1. Not correctly adding the true unsexed fish to the sex ratio. It was adding a portion of all fished.
  2. If a year and length bin had fish M + F + U, these were being completely removed when not doing the sex ratio.
  3. Expansions were incorrectly applied when a tow had a mix of U and Sexed fish.

Original nwfscSurvey Package

30 May 18:24
Compare
Choose a tag to compare

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.