Bayesian version of the CDI plot (depreciated)
Usage
plot_bayesian_cdi2(
fit,
xfocus = "area",
yfocus = "fishing_year",
hurdle = FALSE,
xlab = "Month",
ylab = "Fishing year",
colour = "purple"
)
Arguments
- fit
a model fit
- xfocus
The column name of the variable to be plotted on the x axis. This column name must match one of the column names in the
data.frame
that was passed tobrm
as thedata
argument.- yfocus
The column name of the variable to be plotted on the y axis. This column name must match one of the column names in the
data.frame
that was passed tobrm
as thedata
argument. This is generally the temporal variable in a generalised linear model (e.g. year).- hurdle
if a hurdle model then use the hurdle
- xlab
the x axis label
- ylab
the y axis label
- colour
the colour to use in the plot