Description Usage Arguments Value Examples
Finds the roots of the trophic cascade model given starting values (juvenile bass, planktivorous fish) and parameter (harvest)
1 | getRoot2D_df(initialValues, maxiter = 1000, ...)
|
initialValues |
a |
maxiter |
maximum number of iterations |
... |
additional arguments to pass to |
a matrix with columns for initial values of J0 and F0, roots, and the parameter qE. Each row of output corresponds to a row of the input (though output reorded to ascending qE). Original columns for state variables (J0 and F0) will be renamed to "init.J0" and "init.F0". The equilibria that would be approached from these initial values, i.e. the 'roots', will take on the column names of "J0" and "F0". Thus, the columns J0 & F0 will not have the same values in the input as in the output (output are equilibrium values), unless the input states were already at equilibrium.
1 2 3 4 5 | J0v <- seq(0, 1.5E3, length=2)
F0v <- 20
qEv <- seq(0.15, 1.5, length=10)
iV <- expand.grid(J0=J0v, F0=F0v, qE=qEv)
roots <- getRoot2D_df(iV)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.