modjust | R Documentation |
The function allows to adjust fitted R_eco models by eliminating the maximum R_eco flux as long as the p.value of the linear model of the residuals regressed against original fluxes is above a given threshold. In addition models with parameters that went astray may be skipped. The default is that R_eco models with t1 > 20 are omitted.
modjust(models, alpha = 0.1, minimum = 0.8, prmtrs = list(t1 = 20), ...)
models |
Object of class " |
alpha |
Alpha level against which the p.value of the linear model of the residuals against original fluxes shall be tested. |
minimum |
The minimum proportion of data points that should be kept. The optimisation runs in a |
prmtrs |
List object that allows to skip models according to thresholds set for coefficients of the fitted regression models. The list has to be set up according to the actual method used in |
... |
Arguments passed through to |
When fitting R_eco models based on one or few measurement campaigns in the field it may happen that outliers in the extremes of the temperature gradient have a very high influence on the fit. Although the model could be fit in the first place this often leads to unrealistic predicted fluxes. The adjustment via modjust
leads to better overall performance and reliability of the bulk modelling.
Returns a "breco
" object with the possibly adjusted models. All returned models gain a list entry within the mod
object (see reco
and reco.bulk
) named n.out.adj
giving the number of omitted data points. Fall.back models (see reco.bulk
) in models
are left untouched.
Gerald Jurasinski, gerald.jurasinski@uni-rostock.de,
based on ideas by Sascha Beetz, sascha.beetz@uni-rostock.de
reco
, reco.bulk
## See axamples at reco.bulk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.