Skip to contents

Plot the hurdle and positive components

Usage

plot_hurdle(fit, year = "Year", fill = "purple", probs = c(0.025, 0.975))

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.

Value

a ggplot object.

Author

Darcy Webber darcy@quantifish.co.nz