This function allows you extract the proportions of the iterations for which c, n and p are the limiting element in the model.
limitation(mod, plot = TRUE)
Model output from cnp_model_mcmc().
Argument to specify if results should be shown in a plot.
Returns a data frame with:
Total length, in cm
c, n or p
the proportion of iterations for which there is limitation by the element
# 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