Skip to contents

Creates time series plots of surprise evolution.

Usage

# S3 method for class 'bs_surprise_temporal'
plot(
  x,
  y = NULL,
  type = c("time_series", "heatmap", "cumulative"),
  regions = NULL,
  main = NULL,
  xlab = "Time",
  ylab = NULL,
  col = NULL,
  ...
)

Arguments

x

A bs_surprise_temporal object

y

Unused

type

Plot type: "time_series", "heatmap", or "cumulative"

regions

Which regions to plot (for time_series). If NULL, plots all.

main

Plot title

xlab

X-axis label

ylab

Y-axis label

col

Colors

...

Additional arguments

Value

Invisibly returns the input object