Plots time series data with change points computed by the ocp package

plotOcp(
  tsData,
  model,
  plotTitle = "Bayesian Online Changepoint Detection",
  plotSubtitle = ""
)

Arguments

tsData

The time series data used to train the model

model

The trained ocp model

plotTitle

The title for the plot

plotSubtitle

The subtitle for the plot

Details

Create a plot to display the time series data along with any change points detected by the ocp package