tprTrees-class {TapeS}R Documentation

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 signature 'tprTrees,ANY,ANY,ANY'
x[i, j, ..., drop = FALSE]

## S4 method for signature 'tprTrees'
length(x)

## S4 method for signature 'tprTrees'
show(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'

Details

blabla

Value

a part of the original object

Methods (by generic)

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

Examples

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)))


[Package TapeS version 0.12.1 Index]