eightMethodsMEE: Use all eight methods to fit a simple vector of body masses...

View source: R/fitting.R

eightMethodsMEER Documentation

Use all eight methods to fit a simple vector of body masses as in the MEE paper

Description

Use all eight of the methods described in MEE paper to fit size spectra to a vector of body masses. Data could be lengths but then the LBmiz, LBbiom and LBNbiom methods are meaningless.

Usage

eightMethodsMEE(x, num.bins = 8, b.only = FALSE)

Arguments

x

vector of individual body masses

num.bins

suggested number of bins for Llin, LT and LTplus1 methods

b.only

TRUE only returns slope or b plus confidence intervals, else return full details

Value

If b.only is TRUE then return a list with each element (one for each method) being a vector the slope or b followed by its confidence interval. If b.only is FALSE then return list of full results (need to specify here – see example in vignette MEE_reproduce_1).

Author(s)

Andrew Edwards


andrew-edwards/sizeSpectra documentation built on June 28, 2023, 7:09 p.m.