fit_lw: Fit a length-weight model

View source: R/utils-fit-lw.R

fit_lwR Documentation

Fit a length-weight model

Description

Fit a length-weight model

Usage

fit_lw(d, tol = 0.1, maxiter = 1000)

Arguments

d

Data frame containing the columns length and weight

tol

Model tolerance. See minpack.lm::nls.lm.control()

maxiter

Model maximum iterations. See minpack.lm::nls.lm.control()

Details

Uses a modified version of stats::nls() that uses minpack.lm::nls.lm() for fitting. See minpack.lm::nlsLM() for details.

Value

The stats::coefficients() for the model fit


pacific-hake/hake-assessment documentation built on Nov. 8, 2024, 1:16 p.m.