Description Usage Arguments Value Examples
Reshapes BV table into a data.table with each row corresponding to one measured specimen, and the different BV types introduced as individual columns (e.g. age, length weight). @details Checks and halts for heterogenity in length units, weight untits, length measurements, or BVstratification
1 | extractBV(BVtable, BVtypes, dataTypes)
|
BVtable |
data.table() with column names following the RDBES (v 1.17) R-Name specification |
BVtypes |
a character() vector identifying the BVtypes to introduce as columns (other record types are discarded) |
dataTypes |
The desired data types for the columns. Currently supported: integer, numeric, character and logical |
data.table()
1 | extractBV(NORportsampling2018$BV, c("Age", "Length", "Weight"), c("integer", "numeric", "numeric"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.