fvsAddTrees: Add Trees

View source: R/fvsAddTrees.R

fvsAddTreesR Documentation

Add Trees

Description

Add new tree records to an existing simulation. Designed to be used to simulate regeneration establishment.

Usage

fvsAddTrees(newtrees)

Arguments

newtrees

A dataframe that has values defined for the following attributes of new trees: 'dbh': Diameter breast height (inches) 'species': FVS numeric species code 'ht': Height (feet) 'cratio': Crown ratio (proportion of height in live crown 'plot': FVS numeric plot index 'tpa': Trees per acre

Value

A scalar integer with the return code from FVS where 0 signals trees were added and 1 signals an error.


SilviaTerra/rFVS documentation built on March 25, 2023, 3:59 a.m.