bi_len: bilen

View source: R/biota.R

bi_lenR Documentation

bilen

Description

Reads biota.lengd_skalad_v that includes a raising factor and provides weight as a function of length. No raising done. If species only counted at station, not included in algorithm.

Usage

bi_len(con, std = TRUE, trim = TRUE, weights = TRUE)

Arguments

con

oracle connection

std

create standardized/shortcut names (default is TRUE)

trim

trim return only key variables (default is TRUE). Only operational if std is TRUE.

weights

Gets or calculates weights (default is TRUE). Only operational if std is TRUE.

Value

a tibble query with the following variables if arguement std is TRUE (default):

.id

synis_id)

sid

species id

length

length, normally in centimeters)

wt

derived weights in grams, estimated from length weight relationship. If parameters not available in biota.lw_coeffs then 0.01 and 3 are used

sex

sex, normally 1 is male, 2 is female

mat

maturity stage

age

age, normally in years

n

number of measured fish

rn

the count raising factor

mwt

the estimated weights in grams for a given length


einarhjorleifsson/omar documentation built on Jan. 3, 2025, 1:10 p.m.