analyze_cyl_file | R Documentation |
Reads in a cyl file (which is usually created by treeqsm), and calculates path length, surface area, volume, and sapwood metrics.
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)
)
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
a list of metrics and an updated tree structure dataframe with metrics appended to each row
## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.