Description Usage Arguments Value
View source: R/mass-balance-optim.R
Fit parameters with mass balance criterion
1 | mb_fit(X, Y, lambda, mus, sigmas, log.seasons, log.ann, N, sInd)
|
X |
Inputs, must have columns of 1 added |
Y |
Observed Dry, Wet, and Annual log-transformed flows |
lambda |
Penalty weight. |
mus |
A vector of means, one for each target. |
sigmas |
A vector of the standard deviations, one for each target. |
log.seasons |
A vector containing the indices of the seasons that are log-transformed. |
log.ann |
TRUE if the annual reconstruction is log-transformed. |
N |
The number of targets (number of seasons plus one for the annual reconstruction). |
sInd |
Indices of the seasons, i.e, 1...N-1 |
A one-column matrix of beta value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.