Moult plot for moultmcmc model

# S3 method for moultmcmc
moult_plot(
  x,
  prob = 0.95,
  prob_ci = NULL,
  plot_data = TRUE,
  plot = TRUE,
  newdata = NULL,
  col.data = NULL,
  ...
)

Arguments

x

moultmcmc model object

prob

coverage probability of active moult in the sampled population

prob_ci

coverage probability of credible interval

plot_data

logical, if TRUE plot observations

plot

logical, if TRUE (default) return a plot, else return a dataframe with start and end dates of moult based on model intercepts

newdata

optional data.frame of conditions to plot (passed to predict.moultmcmc)

col.data

optional, name of column in model data to colour data points

...

not currently used

Value

a plot or data.frame