plotStem2d {rForest} | R Documentation |
plotStem3d is used to visualize tree stems in 32
plotStem2d(hi,di,col)
hi, |
vector of measured tree i heights |
di, |
vector of measured tree diameters (di) at i heights |
col, |
stem color, e.g. "chocolate" |
Returns an object of class "lm"
Carlos A. Silva
# Importing forest inventory data data(ForestInv01) # Subsetting Tree 1 tree1<-subset(ForestInv01,ForestInv01[,1]==1) hi<-tree1$hi di<-tree1$di # Plotting stem 2d plotStem2d(hi,di, col="forestgreen")