TPH | R Documentation |
This function calculates the Trees Per Hectare for each plot within your data set. The minimum diameter of trees included in the analysis is 10cm. This diameter can be changed using the CUTOFF parameter in this function. You can use cutoff to either include trees smaller than 10cm or to identify how many larger trees are in your stand.
TPH(Stand, Plot, DBH, EXPF, CUTOFF = TRUE)
Stand |
The unique Stand ID for each Plot. |
Plot |
The unique Plot ID for each Plot. |
DBH |
Diameter at breast height in cm. |
EXPF |
Expansion factor for each tree. |
CUTOFF |
The minimum diameter in cm of a tree to be included in the analysis. If left blank the default CUTOFF is 10cm. |
This function requires that you calculate the Expansion Factor for each tree in your inventory. See the EXP.F function if you need to do this.
Returns a vector of the length N with the trees per hectare for each plot.
Trees Per Hectare is a dependency for a number of other functions that may be useful in your analysis, so using a standard naming convention, while always good practice, will help when applying to additional functions. (ex: TPH, TreePH).
Ryan Smith
EXP.F
Other Plot Level Functions:
BA.Larger.Trees()
,
BAPH()
,
CCF.Larger()
,
CrownCompF()
,
DBHFuns()
,
HeightPredict()
,
RD()
,
SDI.Max()
,
SDI.Plot()
,
TallestTrees()
,
Unique.ID()
Stand <- c(1,1,1,1,1,1,1,1,1) Plot <- c(1,1,1,1,1,2,2,2,2) DBH <- c(5, 6, 33, 23, 11, 22, 4, 17, 40) EXPF <- c(15, 15, 15, 15, 15, 15, 15, 15, 15) TPH(Stand, Plot, DBH, EXPF) TPH(Stand, Plot, DBH, EXPF, 7) TPH(Stand, Plot, DBH, EXPF, 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.