Description Usage Arguments Value
Fit the EL4P Aquatic Ecology module on a sampling grid of K values to match a desired level of daily emergence at equilibrium.
This means that the site-specific density dependent mortality parameter psi
will be fit
to K based on a sampling grid of values for K in log-space. If plot = TRUE
, the linear regression of psi
against logged values of K
should show exact linear dependence, indicating fitted psi
will produce desired level of lambda at equilibrium. Compare with setupAquaPop_EL4Pexact
which will
fit psi
based on an exact LANDSCAPE. This will also return the coefficients of a linear regression of K on psi (see psi2K_cf
) to give the functional relationship between K and psi.
1 | EL4P.Mesh.Fit(mesh_N, EL4P_PAR, var_tol = 0.1, plot = FALSE)
|
mesh_N |
number of sample points of K (density of mesh of K values used to fit psi) |
EL4P_PAR |
parameters from |
var_tol |
target minimum variance in lambda for emergence for equilibrium to be assumed |
plot |
produce diagnostic plots of fitting algorithm |
named list
equilibriumPops: equilibrium aquatic populations
psi: fitted values of psi
alpha: sampled values of alpha
K: sampled values of K
meshK: sampled values of K
psi2K_cf: slope coefficient between 1/psi and K
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.