| dlocation | R Documentation |
Estimates heights of given diameters along the stem using optimization of the taper function.
dlocation(dbh, h_top, d, sp = "spruce", with_bark = TRUE)
dbh |
diameter at breast height (1.3 m above ground) over bark (cm). |
h_top |
height above ground of diameter measurements (m). |
d |
diameters (cm). |
sp |
species. |
with_bark |
diameter with (TRUE, default) or without bark (FALSE). |
Height of given diameter (m).
dlocation(dbh=35,h_top=35,d=c(25,40,12,2,70),sp="birch")
dlocation(dbh=35,h_top=35,d=c(25,40,12,2,70),sp="birch",with_bark=FALSE)
D<-35
H<-34
T<-"G"
#Case 1:
dia<-21
h_vol<-dlocation(d=dia,dbh=D,h_top=H,sp=T)
volume(D,H,sp=T,h_vol_lower = h_vol)
#Case2:
dia<- c(21,16)
A<-1.2
h_vol<- dlocation(d=dia,dbh=D,h_top=H,sp=T)
if (diff(h_vol)>A) volume(D,H,sp=T,h_vol_lower = h_vol[1],h_vol_upper=h_vol[2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.