sigmaBootLeverage: sigmaBootLeverage

View source: R/fluxEstimates.R

sigmaBootLeverageR Documentation

sigmaBootLeverage

Description

Estimate uncertainty of regression due to leverage of starting and end points.

Usage

sigmaBootLeverage(conc, times, fRegress = regressFluxExp, 
    probs = c(0.05, 0.5, 0.95), nSample = 80, 
    coefStart = c(), tryAutoCorr = TRUE)

Arguments

conc

numeric vector of CO2 concentrations

times

times of conc measurements

fRegress

function to yield a single flux estimate

probs
nSample
coefStart

numeric vector of starting parameters. May provide from last bootstrap to speed up fitting

tryAutoCorr

set to FALSE to not try to fit model with autocorrelation

Author(s)

Thomas Wutzler, Oscar Perez Priego

See Also

RespChamberProc

Examples

#data(chamberLoggerEx1s)
ds <- chamberLoggerEx1s
  sigmaBootLeverage( ds$CO2_Avg, ds$TIMESTAMP )

bgctw/RespChamberProc documentation built on Jan. 4, 2024, 6:12 a.m.