View source: R/maxBestimation.R
partialggplotMLL_maxB | R Documentation |
Plots the maximum biomass estimates along an age gradient as a function of another target covariate, with all others held at average values.
partialggplotMLL_maxB(
mll,
data,
targetCovar = "cover",
maxCover = 1,
fixMaxCover = TRUE,
xCovar = "age",
showQuantiles = "allQuantiles",
plotTitle = NULL,
nonLinModelQuoted,
linModelQuoted,
fun = "mean",
plotCIs = TRUE
)
mll |
a named list with outputs of an |
data |
data for estimation of maximum biomass. Should contain at least
an 'age' column. Note that other covariates will be averaged and 'cover' values
will be replaced with the maximum cover value ( |
targetCovar |
the covariate for which variation in maxB values will be shown per
age value. Defaults to showing how maxB values change with "cover" at any given age.
Age values are generated as |
maxCover |
numeric. Value indicating maximum cover/dominance. |
fixMaxCover |
logical. If |
xCovar |
the variable shown in the x axis. Defaults to "age". When |
showQuantiles |
controls whether quantile predictions will be shown. If
"allQuantiles", quantile values (5%, 25%, 50%, 75%, 95%) of B will be
plotted as blue lines, with their respective asymptote values (quantile values
at maximum age) as dashed lines. If "maximum" the 100% quantile will be plotted.
If "none", only the 50% quantile line (average prediction) is plotted.
Quantiles are always calculated at |
plotTitle |
character. Passed to |
nonLinModelQuoted |
a named list of non-linear equations as a |
linModelQuoted |
A named list of lists of linear equations/modes relating each
parameter ('A', 'p' and 'k') with a set of covariates. A |
fun |
passed to |
plotCIs |
should confidence intervals be calculated and plotted? |
Note that the original data, not the predicted values is shown.
bbmle::mle2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.