assemble.table.each {CTFS} | R Documentation |
This function reformats the list of lists output from the
demographic functions mortality
, recruitment
,
growth
and abundance.change
. This function is designed to
provide separate tables for each dbh class and only returns
only rate, confidence limits and Ns. It is currently only implemented
for growth and mortality. An alternative function that has similar
results is assemble.demography
assemble.table.each(output, type = "g", whichdbhcat = 1:2)
output |
file containing the results from one of the demographic functions | ||||||||
type |
type of demographic function with values:
| ||||||||
whichdbhcat |
number indicating how many dbh categories to
include, cannot exceed the number of categories in
output |
The results of the demographic functions (growth, mortality,
recruitment, totalabundance
and related functions are
lists. This is a very convenient format for further
analysis but is not the easiest way to view the results of these
functions. assemble.table.each
reformats the list output
into a dataframe so that is resembles a table.
This function only works for one category for computation of growth
rates. It is most often used for DBH classes.
Returned Values
assemble.table.each
returns a dataframe.
For growth
the following values are returned:
$rate
method
are provided for growth
$clim
$N0
For mortality
the following values are returned:
$rate
$upper
$lower
$N0
$S
$meanyrs
Rick Condit and Pamela Hall
## Not run: dbh0.vct=sep.dbh(tst.bci90.full) growth.dbh.out <- growth(tst.bci90.full,tst.bci95.full,split1=dbh0.vct) assemble.demography(growth.dbh.out) growth.sp.dbh.out <- growth(tst.bci90.full,tst.bci95.full,split1=tst.bci90.full$sp,split2=dbh0.vct) assemble.table.each(growth.sp.dbh.out,whichdbhcat=1:3) ## End(Not run)