# NOT RUN {
showClass("standingTrees")
buff = matrix(c(0,100,0,100), nrow=2, byrow=TRUE,
dimnames=list(c('x','y'),c('min','max')))
st = sampleTrees(10, dbh = c(10,25), sampleRect = buff)
sts = standingTrees(st)
summary(sts)
# }
Run the code above in your browser using DataLab