transformBDAT20: transform BDAT20-matrix

View source: R/transformBDAT20.R

transformBDAT20R Documentation

transform BDAT20-matrix

Description

transforms an intermediate BDAT20-matrix into a data.frame, names it appropriately and removes <zero>-entries.

Usage

transformBDAT20(assort, value)

Arguments

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"

Details

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.

Value

a transformed BDAT20-result, usually a data.frame


rBDAT documentation built on Oct. 14, 2022, 5:07 p.m.