moult_plot.moultmcmc: Moult plot for moultmcmc model

View source: R/plotting_functions.R

moult_plot.moultmcmcR Documentation

Moult plot for moultmcmc model

Description

Moult plot for moultmcmc model

Usage

## S3 method for class '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


pboesu/moultmcmc documentation built on Feb. 19, 2023, 6:03 a.m.