View source: R/plotting_functions.R
moult_plot.moultmcmc | R Documentation |
Moult plot for moultmcmc model
## S3 method for class 'moultmcmc' moult_plot( x, prob = 0.95, prob_ci = NULL, plot_data = TRUE, plot = TRUE, newdata = NULL, col.data = NULL, ... )
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 |
a plot or data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.