plotStem3d: 3D visualization of tree stems

Description Usage Arguments Value Author(s) Examples

View source: R/plotStem3d.R

Description

plotStem3d is used to visualize tree stems in 3D

Usage

1
plotStem3d(hi,di,col,alpha)

Arguments

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

Value

Nothing, but outputs a plot

Author(s)

Carlos Alberto Silva

Examples

 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")

carlos-alberto-silva/rForest documentation built on Oct. 4, 2021, 2 p.m.