Description Usage Arguments Details Value See Also Examples
Sapwood area is an important component of tree water fluxes as well as biometric scaling and can be calculated from DBH or other plant diameter measurements.
1 2 | CalculateSapwoodArea(diameter, sapwood.FUN = NULL, sapwood.depth = NULL,
sapwood.type = NULL)
|
diameter |
Vector of diameters (cm) to use in conversion |
sapwood.FUN |
Function to convert between diameters and sapwood |
sapwood.depth |
Vector of sapwood depths |
sapwood.type |
Length-one character describing sapwood life history |
Diameter is required for scaling, as is one of the three parameters describing the sapwood measurement (sapwood.*). Supplying more than one will throw an error.
Types currently supported are "tropical" and "complete:
tropical
: area is 1.582 * (diam) ^ 1.764, a function obtained
by Meinzer et al. (2001) on 34 Panaminian tree
species across the isthmus wet-dry gradient.
complete
: all sapwood is conducting - sapwood area is just the
stem basal area
Returns a numeric vector of sapwood area
Other utils: CalcSeebeck
,
CheckFluxObject
, LoadDefaults
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Using a custom function:
diams <- c(2, 4, 6, 4)
sapwoodFunction <- function(diameter) {
sapwood <- diameter * 0.75
return(sapwood)
} # Scales sapwood by 0.75 of diameter
areas <- CalculateSapwoodArea(diams, sapwood.FUN)
print(areas) # Returns 1.5, 3.0, 4.5, 3.0
# Just using depths:
diams <- c(2, 4, 6, 4)
depths <- c(1, 2, 3, 2)
areas <- CalculateSapwoodArea(diams, sapwood.depth = depths)
print(areas)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.