View source: R/diameterIncrementTree.R
diameterIncrementTree | R Documentation |
Ole Martin Bollandsås 2007. Manuscript USED IN MATRIX MODEL
diameterIncrementTree(speciesCode, d, BAL, SI, BA, region, LAT)
speciesCode |
species code (1=spruce, 2= pine, 3= brich) |
d |
Diameter of the single tree at breast height (cm) |
BAL |
Sum grunnflate på trær større enn treet man beregner for. |
SI |
Site index of spruce (H40-system m.) |
BA |
Stand basal area (m2ha-1) |
region |
Dummy variable for region. =1 –> County nr >=10 |
LAT |
latitude |
?
V Volume including bark (m3/ha)
Hans Ole Ørka hans.ole.orka@gmail.org
Vestjordet 1959,Brantseg 1959,Næsset 1994a, Næsset 1995a,b
load(file="data/skogRtrees.rda")
attach(skogRtrees)
#Compute BAL
BAL <- c()
for(i in c(1:length(ba))){
BAL[i] <- sum(ba[ba>ba[i]])
}
BA <- sum(ba)*(10000/250)
region = 5
LAT = 60.8
SI = 17
diameterIncrementTree(sp,d,BAL,SI,BA,region,LAT)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.