Description Usage Arguments Value
View source: R/LDS_reconstruction.R
Call a reconstruction method subroutine according to the method required
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | call_method(
y,
u,
v,
method,
init,
num.restarts,
return.init,
ub,
lb,
num.islands,
pop.per.island,
niter,
tol
)
|
y |
Catchment output, preprocessed from data |
u |
Input matrix for a single-model reconstruction, or a list of input matrices for an ensemble reconstruction. |
v |
Same as u. |
method |
By default this is "EM". There are experimental methods but you should not try. |
init |
A list, each element is a vector of initial values for the parameters. If |
num.restarts |
The number of initial conditions to start the EM search; ignored if |
return.init |
If |
ub |
Upper bounds, a vector whose length is the number of parameters |
lb |
Lower bounds |
num.islands |
Number of islands (if method is GA; experimental) |
pop.per.island |
Initial population per island (if method is GA; experimental) |
niter |
Maximum number of iterations, default 1000 |
tol |
Tolerance for likelihood convergence, default 1e-5. Note that the log-likelihood is normalized by dividing by the number of observations. |
The results as produced by LDS_EM_restart()
when the default method (EM) is called. Other methods are experimental.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.