R/LRC_base_optim.R
LRC_computeCost.Rd
Computing residual sum of squares for predictions vs. data of NEE
LRC_computeCost(
thetaOpt,
theta,
iOpt,
flux,
sdFlux,
parameterPrior,
sdParameterPrior,
...
)
numeric vector of optimized parameters
numeric vector of parameters
integer vector of positions of parameters that are optimized
numeric: NEP (-NEE) or GPP time series umolCO2 / m2 / s, should not contain NA
numeric: standard deviation of Flux umolCO2 / m2 / s, should not contain NA
numeric vector along theta: prior estimate of parameter (range of values)
standard deviation of parameterPrior
other arguments to
LRC_predictLRC()
, such as VPD0, fixVPD
weight of misfit of difference between saturation and prediction at PAR = 2000
numeric: residual sum of squares