Description Usage Arguments Details Value Examples
Calculates total abundance or basal area, dividing data with 1 or 2 categorical variables.
1 2 |
censdata |
A table of plot census data. |
type |
Either 'abund' (default) for abundance, 'ba' for basal area, or 'agb'. |
alivecode |
character, codes of the variable |
mindbh |
The minimum diameter above which the counts are done. Trees
smaller than |
dbhunit |
'cm' or 'mm', only used for basal area |
split1 |
a vector of categories, one per individual |
split2 |
another vector of categories, one per individual |
The categorical variables must be submitted as vectors whose length matches
exactly as the number of rows in the plot data submitted (so one per tree or
stem). The first vector should be the one with the most categories (for
instances, split1 = species
, split2 = dbhcategory
).
For basal area, pass a stem table to censdata
; For abundance, use either
the stem or full table to count stems or trees, respectively.
a named list of two elements, either abund
or ba
, and meandate
(mean measurement date for all individuals in each category). Each element
of the list is an array of one or two dimensions, depending on how many
split variables were submitted: each of the dimensions of the array handles
one of the categorical variables.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
CTFSplot('bci',5:6,'full')
CTFSplot('bci',5:6,'stem')
total=abundance(bciex::bci12t5mini,mindbh=10)
total$abund
total$meandate
totalstem=abundance(bciex::bci12s5mini,mindbh=10)
BAperSpecies=abundance(bciex::bci12s5mini,type='ba',mindbh=10,split1=bciex::bci12s5mini$sp)
head(BAperSpecies$ba)
head(BAperSpecies$meandate)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.