tc_design: Deparse list structure from month specification and return...

View source: R/tc_design.R

tc_designR Documentation

Deparse list structure from month specification and return parameter set

Description

Deparse list structure from month specification into single calls, call an aggregating function to collect the data, and return a parameter set for calibration. In general, the months must be specified as a list or nested list structure. Possible cases are: list() list(...) list(list(...)) list(list(...), list(...), ...)

Usage

tc_design(selection, climate, check_2 = TRUE)

Arguments

selection

the list structure to specify the month selection

climate

the climate data as returned by make_pmat

check_2

should there be a check for less than 2 variables in the design matrix?

Value

a data.frame


treeclim documentation built on March 18, 2022, 7:22 p.m.