weightAtAge {DATRAS}R Documentation

Calculate weight by age group in the survey accounting for length-stratified subsampling of age.

Description

Calculate weight by age group in the survey accounting for length-stratified subsampling of age.

Usage

  weightAtAge(d, minAge, maxAge,
    alk.type = c("raw", "smooth"))

Arguments

d

DATRASraw object

minAge

minimum age group to consider

maxAge

maximum age group (plus group)

alk.type

method to calculate age-length key

Details

Empirical application of Bayes formula.

Value

A vector with weight-at-age


[Package DATRAS version 1.0 Index]