Description Usage Arguments Value Author(s) Examples
plotStem3d is used to visualize tree stems in 3D
1 | plotStem3d(hi,di,col,alpha)
|
hi, |
vector of trees his |
di, |
vector of trees dis |
col, |
stem color, e.g. "chocolate" |
alpha, |
stem transparency. Set a value from 0 to 1 |
Nothing, but outputs a plot
Carlos Alberto Silva
1 2 3 4 5 6 7 8 9 10 | # Importing forest inventory data
data(ForestInv01)
# Subsetting Tree 1
tree1<-subset(ForestInv01,ForestInv01[,1]==1)
hi<-tree1$hi
di<-tree1$di
# Plotting stem 3d
plotStem3d(hi,di,alpha=1,col="forestgreen")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.