Description Objects from the Class Slots Extends Methods Author(s) References See Also Examples
The “standingTrees” class is a simplified container
class that can hold multiple objects of class
“standingTree
”. Its specific purpose is to hold a
population of standing trees that are either generated synthetically as part
of a simulation, or a collection from field measurements. The
constructor of the same name has several different forms corresponding
to possible argument signatures.
Objects can be created by calls of the
form new("standingTrees", ...)
; however, as in the other classes
within this package, constructors have been written to simplify the
process. The standingTrees
constructor should therefore be
used in preference to new
.
Please see the virtual base class,
“StemContainer
”, for additional slots
definitions.
trees
:Object of class "list"
: This holds the
collection of “standingTree
” objects.
Please note that at the present time this class only partially meets the requirements of a true “container class” in object oriented programming. This is because it does not as yet have methods for object deletion, editing, or addition to the list of standing trees. Because the statistics and bounding box are tied to the collection, a caution is in order regarding changing in any way the objects within your R code. The best way to handle this is to simply extract the list from the object, do whatever editing has to be done to it, then use the constructor below to make a new object. Then everything will be correctly represented within the object.
Class "StemContainer"
, directly.
signature(x = "standingTrees")
: Displays a histogram
of different variables in the collection.
signature(x = "standingTrees", y = "missing")
: Plot
the collection.
signature(object = "standingTrees")
: Same as
show
currently.
Jeffrey H. Gove
“The Stem Class” vignette in this package.
Classes: "standingTree
",
"Stem
", "StemContainer
"; and
to construct objects, the standingTrees
constructor,
perhaps using sampleTrees
.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.