View source: R/plot-mountains.R
Predicted curves for parameters in sdmTMB models
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
)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.