EL4P.Mesh.Fit: Fit EL4P Aquatic Ecology Module to Mesh of K

Description Usage Arguments Value

Description

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.

Usage

1
EL4P.Mesh.Fit(mesh_N, EL4P_PAR, var_tol = 0.1, plot = FALSE)

Arguments

mesh_N

number of sample points of K (density of mesh of K values used to fit psi)

EL4P_PAR

parameters from EL4P.Parameters

var_tol

target minimum variance in lambda for emergence for equilibrium to be assumed

plot

produce diagnostic plots of fitting algorithm

Value

named list


smitdave/MASH documentation built on May 30, 2019, 5:02 a.m.