plot_index: Plot the standardised and unstandardised indices

View source: R/plot-index.R

plot_indexR Documentation

Plot the standardised and unstandardised indices

Description

In this plot the unstandardised indices is the geometric mean of the data.

Usage

plot_index(
  fit,
  year = NULL,
  fill = "purple",
  probs = c(0.25, 0.75),
  rescale = 1,
  show_unstandardised = TRUE
)

Arguments

fit

An object of class brmsfit.

year

the year or time label.

fill

the fill colour for the percentiles.

probs

The percentiles to be computed by the quantile function.

rescale

the index of the series to rescale to. If set to NULL then no rescaling is done.

show_unstandardised

show the unstandardised series or not.

Value

a ggplot object.


quantifish/influ2 documentation built on Dec. 14, 2024, 5:10 a.m.