calc_size | R Documentation |
Calculate dimensions of fish individuals.
calc_size(
pop_n,
pop_mean_size,
pop_sd_size,
pop_linf,
pop_a,
pop_b,
use_log = TRUE
)
pop_n |
Numeric with starting values for number of individuals. |
pop_mean_size , pop_sd_size |
Numeric with parameters for mean size and variance. |
pop_linf , pop_a , pop_b |
Numeric with parameters for weight calculation. |
use_log |
Logical if TRUE, random log distribution is used. |
Calculate size and weight of fish individuals based on length-weight relationships (Froese & Pauly 2019). The starting length is randomly drawn from a log-norm or uniform distribution.
If an uniform distribution is used, the minimum and maximum are based on 10 and 90
list
Froese, R., Pauly, D., 2019. FishBase. World Wide Web electronic publication [WWW Document]. <www.fishbase.org>
The LENGTH-WEIGHT Table. <https://www.fishbase.org/manual/fishbasethe_length_weight_table.htm>
## Not run:
calc_size(pop_n = 8, pop_mean_size = default_starting$pop_mean_size,
pop_sd_size = default_starting$pop_sd_size,
pop_linf = default_parameters$pop_linf, pop_a = default_parameters$pop_a,
pop_b = default_parameters$pop_b, use_log = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.