sample.data {rconifers}R Documentation

CONIFERS forest growth model sample data

Description

A list object of type sample.data stores all of the basic information about a data.frame object representing a sample of plants.

Usage

sample.swo.3 <- list( plots=plots.swo, plants=plants.swo, age=3, x0=0.0 )
class(sample.swo.3)  <- "sample.data"

Details

To create the basic data type used in rconifers, you create a list object with the following elements (order is not important):

plots.swo
is a data.frame with the the same elements as plots.swo.
plants.swo
is a data.frame with the the same elements as plants.swo.
age
is an integer value that represents the age of the plants, in years.
x0
is the $x_{0}$ coefficient for the Hann and Wang (1990) mortality model.

Author(s)

Jeff D. Hamann jeff.hamann@forestinformatics.com,
Martin W. Ritchie mritchie@fs.fed.us

References

Ritchie, M.W. 2008. User's Guide and Help System for CONIFERS: A Simulator for Young Conifer Plantations Version 4.10. See http://www.fs.fed.us/psw/programs/ecology_of_western_forests/projects/conifers/

See Also

plants.smc, plots.smc plants.swo, plots.swo, sample.data, set.species.map, set.variant, smc, summary.sample.data, swo, thin

Examples

library( rconifers )
## Example for SWO variant
## set the variant to the SWO variant and set species map
set.species.map( set.variant(0) )

## grow the data that was originally swo in the smc variant
# load and display CONIFERS example plots
data( plots.swo )
print( plots.swo )

# load and display CONIFERS example plants
data( plants.swo )
print( plants.swo )

# create the sample.data list object
sample.swo.3 <- list( plots=plots.swo, plants=plants.swo, age=3, x0=0.0 )
class(sample.swo.3)  <- "sample.data"


[Package rconifers version 1.0.0 Index]