getDfYears: Get yearly weight frequencies

View source: R/datras.R

getDfYearsR Documentation

Get yearly weight frequencies

Description

For selected years get yearly weight frequencies from DATRAS object

Usage

getDfYears(dat, years = as.numeric(levels(dat[[2]]$Year)), binsize = 100,
  a = 0.01, b = 3, estWL = FALSE, ...)

Arguments

dat

DATRASraw object

years

numeric vector, containing the years to return

binsize

numeric, the width of the weight classes in grams

a

The a parameter of the weight-length relationship

b

The b parameter of the weight-length relationship

estWL

logical, if TRUE the weight length relationship is estimated from the data in the DATRASraw object

...

additional arguments to datrasraw2weightfreq

Value

list of data.frames, one for each year

Author(s)

alko


alko989/s6model documentation built on Nov. 2, 2023, 10:04 p.m.