VBLRT: Von Bertalanffy Growth Function Likelihood Ratio Test

View source: R/VBLRT_Function.R

VBLRTR Documentation

Von Bertalanffy Growth Function Likelihood Ratio Test

Description

VBLRT constructs a series of von Bertalanffy growth function models looking at likelihood ratio tests to determine if there are differences between defined groups. Here we only allow for a single grouping variable with two levels (i.e., sex (Male and Female)).

Usage

VBLRT(
  len = NULL,
  age = NULL,
  group = NULL,
  error = 1,
  select = 1,
  Linf = NULL,
  k = NULL,
  t0 = NULL
)

Arguments

len

Length data

age

Age data

group

Grouping Variable (only 2 groups allowed)

error

Error Type

select

TBD

Linf

Starting estimate for Linf

k

Starting estimate for k

t0

Starting estimate for t0

Value

Individual von Bertalanffy growth function model fits, based on data and specifications defined, along with results of likelihood ratio tests and information criterion comparing the fits of the different models.


ballengerj/FishyR documentation built on June 17, 2022, 10:33 p.m.