View source: R/extract_lim_data.R
getMR | R Documentation |
This function calculates the mortality rates (per unit time) of all organisms from a LIM.
getMR(BM, web, vars, mTag = NULL, verbose = TRUE)
BM |
(required) A named numeric vector containing biomasses of all LIM components. |
web |
(required) A named numeric vector with the flow solutions. |
vars |
(required) A named numeric vector with the LIM variables. |
mTag |
(optional) Tag assigned to the flows or variables containing the natural, i.e. non-predatory, mortality. Default is set to "mort". Not case sensitive. |
verbose |
(optional) Should the function provide messages? |
In order for this function to work, the LIM must be set-up in a specific way. The flows or variables representing total natural mortality of an organism must be named as: "compartmentTag" or "tagCompartment" (not case sensitive). For more information on setting up the LIM, please review the vignette.
Returns a named vector with mortality rates (per unit time).
LIM
package, Soetaert & van Oevelen 2015.
getVariables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.