Skip to contents

class wrapping and calling the LBI algorithm

Value

A dataframe with all calculated indicators.

A modified dataframe holding all calculated indicators.

Methods


Method new()

Initialise the LBI class

Usage

LbiAlgo$new(data, params)

Arguments

data

length-frequency dataframe

params

R6 object or named List with biological parameters and binwidth


Method lbi()

Wrap up and call the actual LBI algorithm function

Usage

LbiAlgo$lbi()

Details

This method can be called in isolation to get the exact dataframe that the original LBI function returns. However, this method has been modified so that the weight-at-length matrix is never used and therefore Lmaxy and Lmaxy/Lopt ratio is no longer available.


Method run()

Run LBI algorithm.

Usage

LbiAlgo$run()


Method clone()

The objects of this class are cloneable with this method.

Usage

LbiAlgo$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.