standingTree: Generate Objects of Class "'standingTree'"

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This generic function has methods based on the signature formal argument object. It is used as a constructor function for objects that are of class "standingTree". There are two methods that should be used in preference to new to insure a valid object.

Usage

1
standingTree(object, ...)

Arguments

object

This is the signature formal argument, see the methods for more details.

...

Formal arguments that are different for each method, see those for details.

Details

standingTree is defined completely with respect to the signature of its methods standingTree-methods. Methods are available for data.frame, and missing signatures. Other methods can obviously be added for other signatures as necessary.

Value

A valid object of class "standingTree."

Author(s)

Jeffrey H. Gove

References

“The Stem Class” vignette in this package.

See Also

standingTree-methods

Examples

1
2
3
4
5
6
#
#create a standingTree object and show it...
#
st = standingTree(dbh=20, solidType=3)
summary(st)
plot(st)

Example output

Loading required package: sp
Loading required package: raster
Loading required package: boot
sampSurf version 0.7-5 (2020-02-03)

Object of class: standingTree
------------------------------------------------------------

------------------------------------------------------------

Stem...
  Species:  
  units of measurement:  metric
  spatial units:  NA
  location...
    x coord:  0
    y coord:  0
    (Above coordinates are for dbh center)
  Spatial ID: tree:t7h94fw0

standingTree...
  Butt diameter = 0.2132035 meters (21.32035 cm)
  Top diameter = 0 meters (0 cm)
  DBH = 0.2 meters (20 cm)
  Basal area =  0.03141593 square meters
  Height = 15 meters
  Tree volume = 0.2295054 cubic meters
  Tree surface area = 6.028299 square meters
  Taper parameter =  3

Taper (in part)...
   diameter height
1 0.2132035   0.00
2 0.2060361   0.75
3 0.1987418   1.50
4 0.1913111   2.25
5 0.1837332   3.00
6 0.1759956   3.75

sampSurf documentation built on March 5, 2021, 3:01 p.m.