Description Usage Arguments Value Examples
View source: R/data_generator.R
This function allows you create fake data, with added noise.
1 | fake_fish_creator(n, maxA, K, Linf, noiseK, noiseL)
|
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) |
A dataframe containing the simulated Age(year) and Length(mm) along with a plot presenting Length(mm) as a function of age(year).
1 | fake_fish_creator(12,32,0,01,10,0.5,1200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.