View source: R/sf_output_pred.R
plot.STOCfree_pred | R Documentation |
plot method for herd-level predicted probabilities of being status positive
## S3 method for class 'STOCfree_pred' plot(x, herd = "all", type = "aggregated", legend = FALSE)
x |
an object of class STOCfree_pred |
herd |
either one or several herd ids or 'all'. all' will display the probabilities for all herds |
type |
if 'aggregated' a single density plot will be displayed for all herds. If 'individual', lines of different colors are displayed for the different herds. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.