Cdynamics: Calculation of stand-level dynamics (AGB, AWP, AWM,...

Description Usage Arguments Value

View source: R/Cdynamics.R

Description

Calculation of stand-level dynamics (AGB, AWP, AWM, abundance, diameter growth, stem mortality rate) used in the tree size analysis

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
Cdynamics(
  dbh,
  agb,
  year,
  stemid,
  hom,
  wd,
  size,
  group = NULL,
  plot,
  E,
  a,
  b,
  plot_area = 1,
  Ddbh_range = c(-Inf, Inf)
)

Arguments

dbh

A vector of numerical values, containing all dbh measurements.

agb

A vector of numerical values, containing all agb measurements (same length as dbh)

year

A vector of numerical values, containing census years corresponding to each measurement (same length as dbh).

stemid

A vector of character (or numeric) values, containing unique stem identifiers corresponding to each measurement (same length as dbh).

hom

A vector of numeric values, containing height of measurement, used to detect change in hom. Use NA when no HOM has been recorded.

wd

A vector numeric values, containing wood density, used to (re-)calculate AGB

size

A vector of character values corresponding to size bins

group

Additional grouping, optional (default in NULL).

plot

A vector of character (or numeric) values, containing subplot variable (quadrat or bigger) corresponding to each measurement (same length as dbh).

E

A numerical value: environmental variable in Chave equation (2014)

a

A numerical vector (same size as dbh): first parameter in Chojnacky equations (intercept). If tropical site, use NA.

b

A numerical vector (same size as dbh): second parameter in Chojnacky equations (slope). If tropical site, use NA.

plot_area

Area of subplots (in ha). Default is 1.

Ddbh_range

Vector of length 2: ange of acceptable DBH change (in cm). Default is c(-Inf, Inf) (ie no correction).

Value

A data.table (data.frame) with the following columns: plot and year and size as provided in the function inputs; variable: N (abundance, N/ha), mrate (mortality rate, %/yr), Dgrowth (dbh growth, cm/yr), AGB (aboveground biomass, Mg/ha), AWP (aboveground wood productivity, Mg/ha/yr), , AWM (aboveground wood mortality, Mg/ha/yr); value is the correponding value; dT is the time interval between the census and the following one (in years); weight is the weigth that will be used in the bootstrap function.


cpiponiot/cdynfgeo documentation built on July 7, 2020, 3:27 p.m.