plot.ss_fit {sectorgap} | R Documentation |
Plots of results
Description
Creates a set of time series, density, or trace plots.
Usage
## S3 method for class 'ss_fit'
plot(
x,
plot_type = "timeseries",
estimate = "median",
data = data,
n_col = 3,
n_sep = 5,
file_path = NULL,
title = TRUE,
save = FALSE,
device = "jpg",
width = 10,
height = 3,
units = "in",
highlighted_area = NULL,
plot_start = NULL,
plot_end = NULL,
alpha = 0.05,
include_burnin = FALSE,
...
)
Arguments
x |
object of class |
plot_type |
type of plots, options are
|
estimate |
character specifying the posterior estimate. Valid options
are |
data |
list with at least two named components: |
n_col |
number of columns for grid plots |
n_sep |
increments of x axis ticks in years |
file_path |
file path for plots |
title |
boolean indicating if plots should contain titles |
save |
boolean indicating if plots should be saved, if |
device |
character string with format used in |
width |
plot width in |
height |
plot height in |
units |
units for plot size ( |
highlighted_area |
data frame with two columns called |
plot_start |
start of x axis in years, e.g., |
plot_end |
end of x axis in years, e.g., |
alpha |
cut off value for posterior (only used if
|
include_burnin |
logical indicating if burnin phase should be included
(only used if |
... |
ignored |
Value
nothing