pop.change: Change in abundance, basal area, or agb in two censuses.

Description Usage Arguments Details Value See Also Examples

Description

Finds abundance, basal area, or agb in two censuses and the rate of change between them. Accepts two dataframes, each an R Analytical Table for one census, the earlier census first.

Usage

1
2
pop.change(census1, census2, type = "abund", dbhunit = "mm",
  alivecode = c("A"), mindbh = NULL, split1 = NULL, split2 = NULL)

Arguments

census1

The R Analytical Table for a single census, either tree or stem.

census2

The matching R Analytical Table for a later census.

type

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

dbhunit

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

alivecode

character, codes of the variable status that indicate the tree is alive. The default 'A' is the standard CTFS designation for living trees or stems

mindbh

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

split1

a vector of categories, one per individual

split2

another vector of categories, one per individual

Details

Do not use this function with diameter categories as a split variable! The results won't make sense. The categories need to be permanent attributes, such as species, genus, quadrat. To find population change of dbh categories use instead pop.change.dbh()

Mean census date for a species is not the mean census date for all living individuals in that census, but the mean census date for all individuals alive in either census. Plants recruited between the two censuses get a first census date equal to the date on which the quadrat they later appear in was censused in the first census. Plants dead in the second census get a census date equal to the date on which their quadrat was censused

Value

The return value is a list of 6 components:

This list can be submitted to assemble.demography() (topic utilitiesCTFS) to convert into a convenient table.

See Also

abundance(), assemble.demography()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
bcichange = pop.change(
  bciex::bci12t5mini,
  bciex::bci12t6mini,
  type = 'abund',
  split1 = bciex::bci12t5mini$sp,
  mindbh = 10
)
str(bcichange)
head(bcichange$N.1)
change.table = assemble.demography(bcichange, type = 'a')
head(change.table)

## End(Not run)

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