get.extra.metrics: Extract extra growth metrics.

View source: R/DENDRO_BASE_FUNCTIONS.R

get.extra.metricsR Documentation

Extract extra growth metrics.

Description

Fits a Quantile Hull to the data and extracts extra growth and phenology metrics from dendrometer band time series.

Usage

get.extra.metrics(param.table, Dendro.split, par.names = c("L", "K",
  "doyip", "r", "theta", "a", "b", "r.squared", "ts.sd", "alt.a"),
  OUTPUT.folder = "OUTPUT",
  param.table.name = "Param_table_complete.csv",
  Dendro.split.name = "Dendro_split.Rdata",
  Dendro.data.name = "Dendro_data.Rdata",
  Quantile.hull.name = "Quantile.hull.Rdata")

Arguments

param.table

The output data.frame from the optimization *seealso* get.optimized.dendro

Dendro.split

A list vector where every entry is a separate time series of a band on a stem in a year.

par.names

A character vector of the column names of the params vector argument. This is used to pull out actual parameters from other information.

OUTPUT.folder

Character string for the target output folder.

param.table.name

Character string for the parameter table output.

Dendro.data.name

Character string for the data object, Dendro.complete, that is a complete data.frame table output.

Quantile.hull.name

Character string for the data object, QH.Rdata, that contains the Quantile Hull results.

Value

Saves four files to the OUTPUT folder as named above and collected stems.


seanmcm/RDendrom documentation built on March 2, 2024, 3:53 p.m.