BuildAgeTable: Builds a data.frame holding an age table

Description Usage Arguments Value Author(s) See Also Examples

Description

Builds a data.frame holding generic data for each cross-section. There will be as many rows as the number of cross-sections. The data.frame can be saved in a csv file through ExportFile.

Usage

1
BuildAgeTable(RWdata, Tree.object)

Arguments

RWdata

a data.frame holding the set of ring-widths. It can be imported from a csv text file through ImportRW. In case of broadleaf trees, the age table must be computed on the ring-width set of the main stem.

Tree.object

a data.frame holding tree data. This object is easily created through BuildTreeObject.

Value

Returns a data.frame holding cross-sections heights as rownames. For each cross-section, the first column holds the number of rings counted, the second column holds the its radius (as the sum of the full set of ring-widths), the third column holds its age (the tree age minus number of rings) when its tip got to the cross-section level. Tree age is computed as the number of rings on the lowest cross-section.

Author(s)

Marco Bascietto

See Also

ImportRWBuildTreeObjectExportFile

Examples

1
2
3
4
5
6
7
# Recall and attach RW data
data(Lei301)
attach(Lei301)

AgeTable1 <- BuildAgeTable(RW.1A, Tree.features.1)

detach(Lei301)

mbask/treeglia documentation built on May 21, 2019, 2:26 p.m.