BuildAgeTable {treeglia} | R Documentation |
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
.
BuildAgeTable(RWdata, Tree.object)
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 . |
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.
Marco Bascietto
ImportRW
BuildTreeObject
ExportFile
# Recall and attach RW data data(Lei301) attach(Lei301) AgeTable1 <- BuildAgeTable(RW.1A, Tree.features.1) detach(Lei301)