LW2OM: Estimate length-weight parameters from data
Description
Function estimates alpha and beta parameter from length-weight data and populates
the relevant slots in the OM
Usage
LW2OM(data = NULL, OM = NULL, plot = TRUE)
Arguments
data
A data frame with columnns 'Length' and 'Weight' with numeric data
plot
Logical. Show plot of data and fit?
Value
An object of class OM
with OM@a
and OM@b
slots populated