View source: R/plot_range_edge.R
plot_range_edge | R Documentation |
plot_range_edge
plots range edges
plot_range_edge(
Sdreport,
Obj,
year_labels = NULL,
years_to_plot = NULL,
strata_names = NULL,
category_names = NULL,
working_dir = getwd(),
quantiles = c(0.05, 0.95),
n_samples = 100,
interval_width = 1,
width = NULL,
height = NULL,
calculate_relative_to_average = FALSE,
seed = 123456,
...
)
Sdreport |
Standard deviation outputs from TMB model via |
Obj |
Fitted TMB object from package 'VAST', i.e., output from ' |
year_labels |
character vector specifying names for labeling times |
years_to_plot |
integer vector, specifying positions of |
strata_names |
names for spatial strata |
category_names |
names for categories (if using package |
working_dir |
Directory for plots |
quantiles |
vector specifying quantiles to use for calculating range edges |
n_samples |
number of samples from the joint predictive distribution for fixed and random effects. Default is 100, which is slow. |
interval_width |
width for confidence intervals |
width |
plot width in inches |
height |
plot height in inches |
calculate_relative_to_average |
Boolean, whether to calculate edge in UTM coordinates (default), or instead calculate relative to median across all years. The latter reduces standard errors, and is appropriate when checking significance for comparison across years for a single species. The former (default) is appropriate for checking significance for comparison across species. |
seed |
integer used to set random-number seed when sampling variables, as passed to |
... |
Other inputs to 'par()' |
For details regarding multivariate index standardization and expansion see https://doi.org/10.22541/au.160331933.33155622/v1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.