View source: R/weighted_frequency.R
weighted_frequency | R Documentation |
weighted length frequency to catch
length |
length class |
frequency |
length frequency |
a |
parameter of relation length-weight |
b |
parameter of relation length-weight |
catch |
valor of the catch |
Pablo Marin
# Sample
frequency <- c(0,0,0,0,0,0,0,0,0,2,7,14,22,15,13,12,17,22,35,28,7,4,1,0,0,0,0,0,0,0,0)
length <- seq(5,20, by = 0.5)
# weighted
catch_frequency = weighted_frequency(length = length, frequency = frequency, a = 0.003925, b = 3.2178, catch = 50000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.