Description Usage Arguments Value Author(s)
This function calculates tree value for each tree
based on ground called grade. From the second column to the last column,
the grossVolMatrix
table should have same dimensions (i.e.,
number of rows and columns) of callGradeMatrix
and grossMerchVolMatrix
if
they are provided. Furthermore, be aware of the correspondingness among the matrix.
In the function, two lookup table are hardcoded (i.e., spv_spc
and sp_cost
).
This function is part of the log_valu_2017.sas
.
1 2 3 4 5 6 7 | valueCalculator(species, grossVolMatrix, grossMerchVolMatrix,
callGradeMatrix)
## S4 method for signature 'character,data.table,data.table,data.table'
valueCalculator(species,
grossVolMatrix, grossMerchVolMatrix, callGradeMatrix)
|
species |
character, Species codes in BC inventory system. |
grossVolMatrix |
data.table, Calculated gross volume for each log. The first column of this table is the volume for the stump. If missing, the function calculates the total net merchantable volume. |
grossMerchVolMatrix |
data.table, Calculated gross merchantable volume for each log. If missing, all the merchantable volume is assigned as 0. |
callGradeMatrix |
data.table, Ground call grading table. |
Data table that contains net value (VAL_NET
) and net merchantable value (VAL_MER
).
Yong Luo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.