Functions to calculate attributes of a forest object by species or to extract species parameters from a species parameter table (SpParamsMED).

species_basalArea(x, SpParams)

species_cover(x, SpParams)

species_density(x, SpParams)

species_foliarBiomass(x, SpParams, gdd = NA_real_)

species_fuelLoading(x, SpParams, gdd = NA_real_, includeDead = TRUE)

species_LAI(x, SpParams, gdd = NA_real_, bounded = TRUE)

species_characterParameter(species, SpParams, parName)

species_parameter(
  species,
  SpParams,
  parName,
  fillMissing = TRUE,
  fillWithGenus = TRUE
)

Arguments

x

An object of class forest.

SpParams

A data frame with species parameters (see SpParamsMED).

gdd

Growth degree days (to account for leaf phenology effects).

includeDead

A flag to indicate that standing dead fuels (dead branches) are included.

bounded

A boolean flag to indicate that extreme values should be prevented (maximum tree LAI = 7 and maximum shrub LAI = 3)

species

A character vector of species names.

parName

A string with a parameter name.

fillMissing

A boolean flag to try imputation on missing values.

fillWithGenus

A boolean flag to try imputation of missing values using genus values.

Value

A vector with values for each species in SpParams:

  • species_basalArea: Species basal area (m2/ha).

  • species_cover: Shrub cover (in percent).

  • species_density: Plant density (ind/ha). Tree density is directly taken from the forest object, while the shrub density is estimated from cover and height by calculating the area of a single individual.

  • species_foliarBiomass: Standing biomass of leaves (in kg/m2).

  • species_fuel: Fine fuel load (in kg/m2).

  • species_LAI: Leaf area index (m2/m2).

  • species_phytovolume: Shrub phytovolume (m3/m2).

  • species_parameter: A numeric vector with the parameter values of each input species.

  • species_characterParameter: A character vector with the parameter values of each input species.

Author

Miquel De Cáceres Ainsa, CREAF

Examples

# Default species parameterization
data(SpParamsMED)

# Load example plot
data(exampleforest)

# Species basal area in the forest plot
species_basalArea(exampleforest, SpParamsMED)
#>  Pinus halepensis      Quercus ilex Quercus coccifera 
#>         18.604547          6.428755          0.000000 
  
# Value of parameter "Psi_Extract" for two species
species_parameter(c("Pinus halepensis", "Quercus ilex"), SpParamsMED, "Psi_Extract")
#> [1] -0.8507809 -1.6598896