get_quadratic_roots: Find roots of quadratic fixed effect curves

Description Usage Arguments

View source: R/plot-mountains.R

Description

Find roots of quadratic fixed effect curves

Usage

1
2
3
4
5
6
7
8
get_quadratic_roots(
  m,
  predictor = "do_mlpl",
  fixed_param = 1,
  threshold,
  plot = FALSE,
  quadratic_only = TRUE
)

Arguments

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


pbs-assess/gfranges documentation built on Dec. 13, 2021, 4:50 p.m.