View source: R/transformBDAT20.R
transformBDAT20 | R Documentation |
transforms an intermediate BDAT20-matrix into a data.frame, names it appropriately and removes <zero>-entries.
transformBDAT20(assort, value)
assort |
a matrix, produced by calling Fortran-BDAT20-subroutine and extracting one list element to a matrix |
value |
character vector indicating return type: either "Vol", "Skl" or "Fix" |
Fortran subroutine BDAT20 returns a list with many entries for each tree; most relevant are 'Vol', 'FixLng' and maybe 'Skl'. These elements are transformed into a matrix and properly whiped into shape.
a transformed BDAT20-result, usually a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.