Learn R Programming

sitree (version 0.1-15)

trList-class: Class "trList"

Description

Describes the Reference Class trList, which is used to store data on live trees.

Arguments

Extends

All reference classes extend and inherit methods from "envRefClass".

Author

Clara Anton Fernandez caf@nibio.no

Fields

data:

Object of class list containing the unique stand ID (plot.id), the tree ID (treeid), and dbh (dbh.mm) and height (height.dm) for all the periods

nperiods:

Object of class integer containing the number of period that should be simulated

Methods

extractTrees(i):

Removes trees from the objectd, for example when trees die or are harvested

as.list():

converts this class to a list

show():

shows the first 20 trees

getTrees(i, j):

get the information for i trees and j periods without deleting the data

addTrees(value):

adds trees to the object

See Also

trListDead

Examples

Run this code
showClass("trList")

Run the code above in your browser using DataLab