Learn R Programming

DLMtool (version 5.4.5)

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

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