convertlength_skate: Convert Disc and Interspiracular Width to Length

View source: R/convertlength_skate.R

convertlength_skateR Documentation

Convert Disc and Interspiracular Width to Length

Description

Convert from disc and interspiracular width to length for skates, Conversion parameters were derived from West Coast Groundfish Bottom Trawl Survey data.

Usage

convertlength_skate(Pdata, returntype = c("all", "estimated"))

Arguments

Pdata

A data frame of biological samples originating from the Pacific Fishieries Information Network (PacFIN) data warehouse, which originated in 2014. Data are pulled using sql calls, see PullBDS.PacFIN().

returntype

A character value from the list supplied that specifies the data you want returned.

  • "all" all lengths with the new estimates replacing the input lengths

  • "estimated" only the estimat lengths with all other lengths as NA such that the returned vector is the same length and the number of rows of the input data frame.

Value

A vector of lengths. See returntype for detailed information on what can be returned.

Author(s)

Kelli F. Johnson and Vladlena Gertseva


nwfsc-assess/PacFIN.Utilities documentation built on March 19, 2024, 11:54 p.m.