analyze_cyl_file: analyze_cyl_file

Description Usage Arguments Details Value Examples

Description

Reads in a cyl file (which is usually created by treeqsm), and calculates path length, surface area, volume, and sapwood metrics.

Usage

1
2
3
analyze_cyl_file(cyl_file, calc_sapwood = T, sapwood_depth = 2, treeid,
  size_classes = c(0, 1, 3, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100,
  110, 120, 130, 140))

Arguments

cyl_file

path to file with the cylinder data

calc_sapwood

Whether or not sapwood should be calculated, Default: T

sapwood_depth

Set assumed sapwood depth (cm) at the base of the tree, Default: 2

treeid

identifier to use in outputs for this tree, Default: basename(cyl_file)

size_classes

branch diameter size classes (cm) across which aggregated computations will be made, Default: c(0,1,3,5,10,20,30,40,50,60,70,80,90,100,110,120,130,140)

Details

DETAILS

Value

a list of metrics and an updated tree structure dataframe with metrics appended to each row

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

ashenkin/treestruct documentation built on June 4, 2019, 5:17 p.m.