List of ggplots with each plot representing the evolution of condition probabilities over time for one pipe
Usage
plot_prediction_by_pipe(
prediction,
prefix = "prob",
pipe_ids = unique(kwb.utils::selectColumns(prediction, "pipe_id")),
width = 1
)
Arguments
- prediction
data frame as returned by
runGompitzPrediction
- prefix
prefix of column names containing the probabilities. Default: "prob"
- pipe_ids
vector of pipe IDs for which a plot is to be generated. By default all available pipes are considered!
- width
passed to
geom_col
(default: 1)