Sawlog.Likelihood: Likelihood of Having A Sawlog

View source: R/SawlogLiklihood.R View source: R/Sawlog.Likelihood.R

Sawlog.LikelihoodR Documentation

Likelihood of Having A Sawlog

Description

For explanation of form/risk analysis see Castle. et al 2017 . This function is meant to supplement the Form.Risk merchandising function.

For explanation of form/risk analysis see Castle. et al 2017 . This function is meant to supplement the Form.Risk merchandising function.

Usage

Sawlog.Likelihood(SPP, DBH, HT, Form, Risk)

Sawlog.Likelihood(SPP, DBH, HT, Form, Risk)

Arguments

SPP

The species identification using FVS codes: ex 'RO' = Red Oak

DBH

Diameter at breast height in cm

HT

Height in m

Form

Form classes 1-8 or 'GF', 'AF', 'PF' values are accepted.

Risk

Risk class may be entered using 1-4 values or 'HR' or 'LR'.

Details

The only species this will currently execute for are Sugar Maple ("SM"), Yellow Birch ("YB"), Red Maple ("RM"), and Red Oak ("RO").

These values can be used in a multitude of ways, but if you are looking for binary TRUE/FALSE results for if a tree is likely to produce a sawlog, the optimal cutoff point for determining whether or not a tree has a sawlog can be found using the coords function in the pRoc package. Cutpoints that have been used with exceptionally high AUC values (greater than .85) in Northern Maine are:
Red Maple: Cutpoint 0.737935
Sugar Maple: Cutpoint 0.8500554
Yellow Birch: Cutpoint 0.8586569

Will work for AB, BT, PB, QA, RM, RO, SM, WA, WO, YB, EH, OC, RS, WS, WP

These values can be used in a multitude of ways, but if you are looking for binary TRUE/FALSE results for if a tree is likely to produce a sawlog, the optimal cutoff point for determining whether or not a tree has a sawlog can be found using the coords function in the pRoc package. Cutpoints that have been used with exceptionally high AUC values (greater than .9) in Northern Maine.

Value

Returns a predictive value to be used in AUC analysis to determine the likelihood that a tree contains a sawlog.

Returns a predictive value to be used in AUC analysis to determine the likelihood that a tree contains a sawlog.

Author(s)

Ryan Smith

See Also

Form.Risk

Other Merchandising Functions: MerchHT(), Merchandize.ASG(), Merchandize.Form.Risk(), Stick.Cruise(), ValueEstimate()

Other Merchandising Functions: MerchHT(), Merchandize.ASG(), Merchandize.Form.Risk(), Stick.Cruise(), ValueEstimate()

Examples

Sawlog.Likelihood("RO", 42, 1, 1)
Sawlog.Likelihood("RO", 42, 20, 1, 1)

ryanmismith/inventoryfunctions documentation built on Aug. 5, 2022, 2:22 a.m.