Learn R Programming

sampSurf (version 0.7-6)

standingTrees: Generate Objects of Class "'>standingTrees"

Description

This generic function has methods based on the signature formal arguments object and container. It is used as a constructor function for objects that are of class "'>standingTrees". This method should be used in preference to new to insure a valid object.

Usage

standingTrees(object, container, ...)

Arguments

object

Signature formal argument to key on whether trees are passed or generated.

container

Relevant if the trees are to be contained within some physical boundary/area like a “'>Tract” object.

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

Value

A valid object of class "'>standingTrees."

Details

The methods that can be used to generate objects of class “'>standingTrees” are detailed here: standingTrees-methods. As mentioned, each has a different signature and supporting formal arguments allowing you to generate a collection in various ways. Please see the above link for more details.

References

“The Stem Class” vignette in this package.

See Also

standingTree, and classes: "'>standingTree", "'>StemContainer"

Examples

Run this code
# NOT RUN {
showMethods("standingTrees")
strees = standingTrees(15, xlim=c(0,20), ylim=c(10,40), dbhs=c(10,25))
summary(strees)
plot(strees, axes=TRUE)
# }

Run the code above in your browser using DataLab