Plots change points of objects of class change_point_test_pvalue based on tinyplot functionality.

# S3 method for class 'change_point_test_pvalue'
plot(x, ...)

Arguments

x

an object of class change_point_test_pvalue

...

other arguments used in tinyplot

Examples

library(cpt)
library(trackframe)
library(tinyplot)

data("cpttestdata")
data <- trackframe::as.trackframe(cpttestdata, crs = NA)
set.seed(2025)
P = change_point_test_pvalue(data, q_max = 10, n = 100)

tinytheme("clean2")

plot(P[[1]])