Learn R Programming

aRchi (version 2.1.3)

WoodSurface: Estimate the unrolled wood surface from a QSM

Description

Estimate the unrolled wood surface from a QSM by summing the area of all cylinders at several level of organization.

Usage

WoodSurface(aRchi, level = "Tree")

# S4 method for aRchi WoodSurface(aRchi, level = "Tree")

Value

a numeric or data.table. The wood surface in m2

Arguments

aRchi

a file of class aRchi

level

text. The level at which the wood surface is computed. Tree, branching_order or Axis.

Examples

Run this code
# Read an aRchi file with at least a QSM.
file=system.file("extdata","Tree_1_aRchi.aRchi",package = "aRchi")
Tree1_aRchi=read_aRchi(file)
# Compute the wood surface at branching order level.
WoodSurface(Tree1_aRchi,level="branching_order")

Run the code above in your browser using DataLab