directionalfellingsuccessdef: Directional felling success definition

Description Usage Arguments Value Examples

View source: R/treefelling.R

Description

Defines whether the directed fall of the tree is successful or not by drawing in a Bernoulli distribution where the probability of success is by default 60%, and can be changed with the advancedloggingparameters argument.

Usage

1
2
3
4
5
6
directionalfellingsuccessdef(
  inventory,
  fuel,
  directionalfelling,
  advancedloggingparameters = loggingparameters()
)

Arguments

inventory

input inventory (see the inputs formats and metadata in the vignette) (data.frame)

fuel

Fuel wood exploitation: no exploitation = "0", exploitation of damage and unused part of logged trees for fuel = "1", exploitation of hollow trees, damage and and unused part of the log for fuel = "2"

directionalfelling

Directional felling = "0" (absent), "1" (only to avoid damage to future and reserve trees), "2" (to avoid damage to future and reserve trees and to position the log relative to the track)

advancedloggingparameters

Other parameters of the logging simulator loggingparameters (list)

Value

Input inventory with the "TreeFellingOrientationSuccess" new column (see the outputs metadata in the vignette).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data(MainTrails)
data(HarvestablePolygons)

inventory <- addtreedim(inventorycheckformat(Paracou6_2016),
volumeparameters = ForestZoneVolumeParametersTable)

inventory <- treeselection(inventory, objective = 20, scenario ="manual",
 fuel = "2", diversification = TRUE, specieslax = FALSE, maintrails = MainTrails,
 harvestablepolygons = HarvestablePolygons,
 objectivelax = TRUE, topography = DTMParacou, plotslope = PlotSlope,
 speciescriteria = SpeciesCriteria,
 advancedloggingparameters = loggingparameters())$inventory

new <- directionalfellingsuccessdef(inventory,fuel = "2", directionalfelling = "2",
advancedloggingparameters = loggingparameters())

thomasgaquiere/Maria documentation built on Dec. 24, 2021, 1:20 a.m.