limitation: A function to evaluate element limitation of the model

View source: R/limitation.R

limitationR Documentation

A function to evaluate element limitation of the model

Description

This function allows you extract the proportions of the iterations for which c, n and p are the limiting element in the model.

Usage

limitation(mod, plot = TRUE)

Arguments

mod

Model output from cnp_model_mcmc().

plot

Argument to specify if results should be shown in a plot.

Value

Returns a data frame with:

tl

Total length, in cm

nutrient

c, n or p

prop_lim

the proportion of iterations for which there is limitation by the element

Examples

library(fishflux)
mod <- cnp_model_mcmc(TL = 5, param = list(Qc_m = 40, Qn_m = 10, Qp_m = 4,
                                           Dc_sd = 0.1, Dn_sd = 0.05, Dp_sd = 0.05))
limitation(mod)


fishflux documentation built on May 6, 2022, 9:06 a.m.