run_condition_doy: Condition indicator calculated based on day of year

View source: R/run_condition_doy.R

run_condition_doyR Documentation

Condition indicator calculated based on day of year

Description

Condition indicator calculated based on day of year

Usage

run_condition_doy(
  species_code,
  region = "EBS",
  method = "lm",
  form = log(weight_g) ~ log(length_cm):factor(sex) + yday:factor(year)
)

Arguments

species_code

Species code as a 1L numeric vector

region

Region as a 1L character vector ("EBS", "NBS", "AI", "GOA")

method

Regression function method, either lm or stan_lm

form

Formula for the regression.


afsc-gap-products/akfishcondition documentation built on June 11, 2025, 5:37 p.m.