plot.STOCfree_pred: plot method for herd-level predicted probabilities of being...

View source: R/sf_output_pred.R

plot.STOCfree_predR Documentation

plot method for herd-level predicted probabilities of being status positive

Description

plot method for herd-level predicted probabilities of being status positive

Usage

## S3 method for class 'STOCfree_pred'
plot(x, herd = "all", type = "aggregated", legend = FALSE)

Arguments

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.


AurMad/STOCfree documentation built on Sept. 13, 2022, 3:20 a.m.