abund.manycensus: Collect abundances of all species across several censuses.

Description Usage Arguments Examples

Description

Collect abundances of all species across several censuses.

Usage

1
2
3
abund.manycensus(allcns = list(bci.full1, bci.full2, bci.full3), mindbh,
  dbhunit = "mm", type = "abund", excludespp = NULL,
  excludestatus = NULL)

Arguments

allcns

Full R census, submitted as a list (as many as desired).

mindbh

The minimum diameter above which the counts are done. Trees smaller than mindbh are excluded. If NULL, all living trees are included.

dbhunit

'cm' or 'mm', only used for basal area

type

Either 'abund' (default) for abundance, 'ba' for basal area, or 'agb'.

excludespp

A character vector of species codes can be submitted as excludespp, for instance those for unidentified trees.

excludestatus

By default, any tree ever given code M is not counted in any census, but set excludestatus = NULL to include them.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Not run: 
N = abund.manycensus(
  allcns = list(
    bciex::bci12t1mini, bciex::bci12t2mini, bciex::bci12t3mini, bciex::bci12t4mini
  ),
  mindbh = 10,
  type = 'abund',
  excludespp = 'uniden',
  excludestatus = 'M'
)
head(N)
colSums(N)
apply(N,2,countspp)

N = abund.manycensus(
  allcns = list(bciex::bci12t5mini, bciex::bci12t6mini),
  mindbh = 10,
  type = 'abund',
  excludespp = c('uniden', 'tremxx'),
  excludestatus = NULL
)

## End(Not run)

forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.