budget.ie: Estimate interpolation errors for GPP and Reco budgets

View source: R/budget.ie.R

budget.ieR Documentation

Estimate interpolation errors for GPP and Reco budgets

Description

Use several MC methods to estimate the uncertainty associated with the interpolation of fluxes between models when preparing time series data for budgeting R_eco, GPP (and finally NEE) with budget.reco and budget.gpp.

Usage

budget.ie(bdgt, method = "leave out", lo = 2, it = 100)

Arguments

bdgt

An object deriving from running budget.reco or budget.gpp. The budget should cover a reasonable time span, e.g. a year or even better, a calender year and must have been derived with return.models = TRUE and with a set.back that only defines start and end dates. See example at budget.reco.

method

Specify how interpolation error should be estimated. Available methods include "leave out", "bootstrap", "sorted bootstrap", "constrained bootstrap", "jackknife", "jack-validate". True bootstrap is only effective when sort.x = FALSE. See auc.mc for details.

lo

When estimating interpolation error with "leave out" or "jack-validate", how many data points should be left out randomly? Defaults to 2. See method and details.

it

How many iterations should be run? Defaults to 100. Not effective for methods "jackknife", and "jack-validate".

Details

ATTENTION: It takes a while. How long one budget run takes depends on the length of the bdgt but typically takes about 5 seconds. So if you run with defaults (it = 100) it may take some minutes. Progress is shown in the console with numbers representing the runs separated by colons.

The approaches are quite similar to the ones in auc.mc. However, the function randomly samples from a list of models and then runs the complete budgeting via budget.reco or budget.gpp. This is done either it times or as often as needed to get all combinations that are possible (for methods "jackknife", and "jack-validate").

Value

A vector of budgets.

Author(s)

Gerald Jurasinski, gerald.jurasinski@uni-rostock.de,

References

Beetz S, Liebersbach H, Glatzel S, Jurasinski G, Buczko U, Hoper H (2013) Effects of land use intensity on the full greenhouse gas balance in an Atlantic peat bog. Biogeosciences 10:1067-1082

See Also

reco.bulk, gpp.bulk, modjust, budget.reco, budget.gpp

Examples

## See examples at budget.reco


flux documentation built on June 26, 2022, 9:05 a.m.