Plots time series data with change points computed with a segmented generalized linear model

plotSegmented(
  tsData,
  model,
  plotTitle = "Segmented Regression",
  plotSubtitle = ""
)

Arguments

tsData

The time series data used to train the model

model

The trained segmented 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 segmented package