Plots time series data with change points computed by the ocp package
plotOcp(
tsData,
model,
plotTitle = "Bayesian Online Changepoint Detection",
plotSubtitle = ""
)
The time series data used to train the model
The trained ocp model
The title for the plot
The subtitle for the plot
Create a plot to display the time series data along with any change points detected by the ocp package