sample2df | R Documentation |
Takes a vector containing individual catch weights and returns a data.frame with numbers per weight class
sample2df(sam, binsize, keepZeros = TRUE)
sam |
Numeric vector. Individual weights |
binsize |
Numeric. Weight class width |
keepZeros |
Logical. If TRUE the resulting data.frame includes weight classes with zero individuals. Otherwise these weight classes are dropped. |
A data.frame with columns Weight and Freq with number per weight class.
alko
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.