Learn R Programming

TapeS (version 0.13.2)

tprTrees-class: An S4 class to represent one or multiple trees.

Description

This class represents one or multiple trees by their biometric characteristics.

using indices i and j to subset

Usage

# S4 method for tprTrees,ANY,ANY,ANY
[(x, i, j, ..., drop = FALSE)

# S4 method for tprTrees length(x)

# S4 method for tprTrees show(object)

Value

a part of the original object

Arguments

x

object of class 'tprTrees'

i

index i

j

index j

...

not currently used

drop

drop dimensions, defaults to FALSE

object

object of class 'tprTrees'

Methods (by generic)

  • x[i: subsetting for class 'tprTrees'

  • length(tprTrees): length function for class 'tprTrees'

  • show(tprTrees): length function for class 'tprTrees'

Slots

spp

species code of trees

Dm

list of measured diameters

Hm

list of heights of measured diameters

Ht

total height of trees

sHt

standard deviation of total tree height, defaults to 0 for exact height measurements without error

monotone

logical indicator about monotonicity of taper curve

Details

blabla

Examples

Run this code
tprTrees() # initialise object by constructor
(tmp <- tprTrees(spp=c(1L,3L), Dm=list(c(30, 28), c(40, 38)),
                 Hm=list(c(1.3, 5), c(1.3, 5)), Ht=c(30, 40)))

Run the code above in your browser using DataLab