Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

fishflux (version 0.0.1.6)

limitation: 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

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab