netVolumeCalculator: Calcualtes total net volume and merchantable volume-VRI...

Description Usage Arguments Value Author(s)

Description

This function calculates total net volume and net merchantable volume for each tree based on ground called sound percentage. From the second column to the last column, the grossVolMatrix table should have same dimensions (i.e., number of rows and columns) of netFactorMatrix and grossMerchVolMatrix if they are provided. Furthermore, be aware of the correspondingness among the matrix. This function is part of log_valu_2017.sas.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
netVolumeCalculator(grossVolMatrix, grossMerchVolMatrix, netFactorMatrix)


  ## S4 method for signature 'data.table,data.table,data.table'
netVolumeCalculator(grossVolMatrix,
  grossMerchVolMatrix, netFactorMatrix)


  ## S4 method for signature 'missing,data.table,data.table'
netVolumeCalculator(grossMerchVolMatrix,
  netFactorMatrix)


  ## S4 method for signature 'data.table,missing,data.table'
netVolumeCalculator(grossVolMatrix,
  netFactorMatrix)


  ## S4 method for signature 'data.table,data.table,missing'
netVolumeCalculator(grossVolMatrix,
  grossMerchVolMatrix)

Arguments

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.

netFactorMatrix

data.table, Ground call for sound percentage. If missing, the net factoring will be assigned as 100.

Value

Data table that contains total net volume (VOL_NET) and total net merchantable volume (VOL_NETM) for each tree.

Author(s)

Yong Luo


bcgov/BCForestGroundSample documentation built on May 25, 2019, 3:21 p.m.