View source: R/plot-mountains.R
Find roots of quadratic fixed effect curves
1 2 3 4 5 6 7 8 | get_quadratic_roots(
m,
predictor = "do_mlpl",
fixed_param = 1,
threshold,
plot = FALSE,
quadratic_only = TRUE
)
|
m |
Output of sdmTMB model |
predictor |
Prefix for scaled parameter in model |
fixed_param |
Number in sequence if model contains multiple quadratic fixed effects |
threshold |
What proportion of total y to calculate roots for |
plot |
Logical for plotting quadratic |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.