default_volume_function: Default volume function

View source: R/default_volume_function.R

default_volume_functionR Documentation

Default volume function

Description

Example function for estimating wood volume (in m3/ha) from a tree table or forest object.

Usage

default_volume_function(x, SpParams = NULL)

Arguments

x

A data frame with columns 'DBH', 'Height' and 'N' or a forest object

SpParams

A data frame with species parameters (not used in the default function but will be called)

Details

Users should define their own functions taking into account that:

  • Input should be named 'x' and consist of a tree table with tree records as rows and columns 'DBH' (cm), 'Height' (cm), and 'N' (ind./ha).

  • Output should be a numeric vector of length equal to the number of tree records in 'x'

Value

A function amenable for wood volume estimation.


emf-creaf/medfateland documentation built on April 17, 2025, 5:43 a.m.