LW2OM: Estimate length-weight parameters from data

Description Usage Arguments Value

View source: R/data2OMfunctions.r

Description

Function estimates alpha and beta parameter from length-weight data and populates the relevant slots in the OM

Usage

1
LW2OM(data = NULL, OM = NULL, plot = TRUE)

Arguments

data

A data frame with columnns 'Length' and 'Weight' with numeric data

OM

An object of class OM

plot

Logical. Show plot of data and fit?

Value

An object of class OM with OM@a and OM@b slots populated


DLMtool/DLMtool documentation built on June 20, 2021, 5:20 p.m.