Wrapper biomass function for packages medfate and medfateland
IFNbiomass_medfate.RdWrapper function to be used to calculate tree biomass for packages medfate and medfateland.
Arguments
- x
Data frame of tree data or
forestobject from package medfate.- SpParams
Data frame of species parameters suitable for medfate package (not used).
- area
Either 'Atlantic' or 'Mediterranean' to specify allometric equations specific to the area (for Pinus pinaster)
- fraction
A string, either "total" (for total biomass), "stem" (for stem biomass), "branches" (for branch biomass), "aboveground" (for aboveground biomass) or "belowground" (for belowground biomass).
- level
A string, either "cohort" (for tree cohort-level biomass) or "stand" (for stand-level biomass).
Value
A vector of biomass of each tree cohort (in Mg/ha of dry weight) to be used in medfate or medfateland packages.
Details
Values for parameter x will be supplied by the calling function (e.g. modify_forest_structure). Values for parameters
area, fraction and level (if they defaults need to be changed) should be supplied using as a list to parameter biomass_arguments.