datSum_options: Options for summarizing tree data.

View source: R/datSum_options.R

datSum_optionsR Documentation

Options for summarizing tree data.

Description

Returns a list of user-supplied parameters and parameter values for summarizing tree data.

Usage

datSum_options(
  lbs2tons = TRUE,
  metric = FALSE,
  tround = 5,
  TPA = TRUE,
  adjTPA = 1,
  ACI = FALSE,
  adjtree = FALSE,
  adjvar = "tadjfac",
  keepall = FALSE,
  NAto0 = TRUE,
  ...
)

Arguments

lbs2tons

Logical. If TRUE, converts biomass or carbon variables from pounds to tons (1 pound = 0.0005 short tons). If metric=TRUE, converts to metric tons, else short tons.

metric

Logical. If TRUE, converts response to metric units based on ref_conversion, if any variable in tsumvarlst is in FIESTAutils::ref_estvar. Note: if TPA, TPA is converted to trees per hectare (TPH: (1/ tpavar * 0.4046860)).

tround

Number. The number of digits to round to. If NULL, default=5.

TPA

Logical. If TRUE, tsumvarlst variable(s) are multiplied by the respective trees-per-acre variable (see details) to get per-acre measurements.

adjTPA

Numeric. A tree-per-acre adjustment. Use for DESIGNCD=1 (annual inventory), if using less than 4 subplots. If using only 1 subplot for estimate, adjTPA=4. The default is 1.

ACI

Logical. If TRUE, if ACI (All Condition Inventory) plots exist, any trees on these plots will be included in summary. If FALSE, you must include condition table.

adjtree

Logical. If TRUE, trees are individually adjusted by adjustment factors. Adjustment factors must be included in tree table (see adjvar).

adjvar

String. If adjtree=TRUE, the name of the variable to use for multiplying by adjustment (e.g., tadjfac).

keepall

Logical. If TRUE, keeps all plots in dataset with NA values. If FALSE, keeps only summed data when not NA.

NAto0

Logical. If TRUE, change NA values to 0

...

For extendibility.

Details

If no parameters, an empty list is returned.

Value

A list of user-supplied parameters and parameter values for summarizing tree data.

Author(s)

Tracey S. Frescino

Examples


datSum_options(lbs2tons = TRUE, metric = TRUE)


FIESTAutils documentation built on April 4, 2025, 2:04 a.m.