est_vbgrowth: Estimate length-at-age using the von Bertanlaffy...

View source: R/est_vbgrowth.R

est_vbgrowthR Documentation

Estimate length-at-age using the von Bertanlaffy parametization

Description

Estimate length-at-age using the von Bertanlaffy parametization

Usage

est_vbgrowth(
  data,
  dir = NULL,
  col_length = "length_cm",
  col_age = "age",
  init_params = data.frame(K = 0.13, Linf = 55, L0 = 15, CV0 = 0.1, CV1 = 0.1),
  bins = NULL
)

Arguments

data

Data frame of biological data from pull_bio()

dir

Directory where output will be saved. The directory where the file should be saved. If dir = NULL no output will be saved.

col_length

A character string specifying the column to use in data for length information. These lengths are assumed to be in centimeters. The default value is length_cm.

col_age

A character string specifying the column to use in data for age information. These ages are assumed to be in years. The default value is age.

init_params

Data frame of starting parameters for K, Linf, L0, CV0, and CV2 based on the Stock Synthesis parameterization of von Bertanlaffy growth.

bins

The bins to put ages into. If NULL then simply uses the ages as recorded.

Author(s)

Chantel Wetzel

See Also

fit_vbgrowth()


nwfsc-assess/nwfscSurvey documentation built on March 6, 2025, 4:07 a.m.