plot_mountains: Predicted curves for parameters in sdmTMB models

Description Usage Arguments

View source: R/plot-mountains.R

Description

Predicted curves for parameters in sdmTMB models

Usage

1
2
3
4
5
6
7
8
plot_mountains(
  dat,
  time_varying = TRUE,
  variable_label = "Depth",
  xlimits = c(0, max(dat$x)),
  x_breaks = waiver(),
  mountains_only = F
)

Arguments

dat

Dataframe of density estimates containing x, y_hat, year, and type Create using density functions: fixed_density or time_varying_density

time_varying

Logical for if the parameter of interest is time-varying

variable_label

Descriptive label for parameter "x"

xlimits

X-axis limits. Default is c(0, max(dat$x))

x_breaks

Give breaks. Default is the ggplot default

mountains_only

Logical for whether to exclude non-"sad-face" type curves.


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