Learn R Programming

AgeBandDecomposition (version 1.0.1)

plotBAI: plotBAI

Description

Function for plotting basal area increment (BAI) values derived from inTRW object using the first tibble produced by the function TRW_readExcel.

Usage

plotBAI(
  inTRW,
  linewidth_BAI = 1,
  linewidth_Ntrees = 1,
  byYears = 20,
  xlim = NULL,
  ylim = NULL,
  ...
)

Value

None. A plot is produced.

Arguments

inTRW

tibble. The first object resulting from the TRW_readExcel function.

linewidth_BAI

numeric. line size for BAI.

linewidth_Ntrees

numeric. line size for Ntrees.

byYears

numeric. Spacing (in years) between tick marks on the x-axis of time-related plots.

xlim

Optional numeric vector of length 2 specifying the limits of the x-axis. If NULL the limits are automatically determined.

ylim

Optional numeric vector of length 2 specifying the limits of the y-axis for the ABD panel. If NULL the limits are automatically determined.

...

Other arguments passed on to methods. Not currently used.

Details

This function generates a basic plot displaying the mean chronology +/- standard error of raw basal area increments (in squared cm) alongside the corresponding number of trees.

See Also

plotTRW, plotABD

Other tree ring plotting: plotABD(), plotTRW()

Examples

Run this code
plotBAI(inTRW
    , linewidth_BAI = .5
    , linewidth_Ntrees = 1
    )

Run the code above in your browser using DataLab