ba.indiv {CTFS} | R Documentation

## Basal Area of Individual Trees, including Mulitiple Stems

### Description

Computes the basal area (m^2) for each tree including multiple stems if there are any. If a tree has more than one stem, the other stems recorded in the multi-stem file are included in its basal area. Two datasets are used: one with the primary stem and one with all multiple stems for that cenus. The two datasets contain completely non-overlapping sets of DBH. Adding the two together produces the total basal area for each tagged tree.

### Usage

    ba.indiv(census1, mult1, alivecode=c("A"), mindbh = 10)

### Arguments

`census1` | name of census datafile for a single census, a dataframe
`mult1` | name of multi-stem file from the same census as
`alivecode` | character, codes of the variable `status` that indicate the tree is alive. The most general valid categories are: "A" and "AB" and "AS". Default for `ba.indiv` is "A"
`mindbh` | minimum DBH to determine which trees will be included in computation

### Details

See `CTFS.basalarea` for details on the computation methods of basal area and associated functions.

A tree is included for the computation based on its value for `status` and `dbh` for a single census.

### Value

Returns a vector of basal areas (m^2) of the same length as `census1`

### Author(s)

Rick Condit, Suzanne Lao, Pamela Hall

### See Also

`CTFS.basalarea`

### Examples

    ## Not run:
    1.  Default use of ba.indiv
    ba.indiv.out <- ba.indiv(tst.bci90.full,tst.bci90.mult)

    2.  Basal area for trees >= 100 mm only
    ba.indiv.out <- ba.indiv(tst.bci90.full,tst.bci90.mult,mindbh=100)
    ## End(Not run)

[Package CTFS version 1.00 Index]