fake_fish_creator: A function to create fake Length/Age relationship for fish

Description Usage Arguments Value Examples

View source: R/data_generator.R

Description

This function allows you create fake data, with added noise.

Usage

1
fake_fish_creator(n, maxA, K, Linf, noiseK, noiseL)

Arguments

n

Number of fish captured

maxA

Age of the oldest fish captured (years)

K

Mean growth rate (mm/years)

Linf

Mean maximum size (mm)

noiseK

Standard deviation of the growth rate (mm/years)

noiseL

Standard deviation of the maximum size (mm)

Value

A dataframe containing the simulated Age(year) and Length(mm) along with a plot presenting Length(mm) as a function of age(year).

Examples

1
fake_fish_creator(12,32,0,01,10,0.5,1200)

yeynaud/VBEstimatorPackage documentation built on May 29, 2019, 12:18 p.m.