test_set: Simulate time series with known changepoint sets

View source: R/utils.R

test_setR Documentation

Simulate time series with known changepoint sets

Description

Simulate time series with known changepoint sets

Usage

test_set(n = 1, sd = 1, seed = NULL)

Arguments

n

Number of true changepoints in set

sd

Standard deviation passed to stats::rnorm()

seed

Value passed to base::set.seed()

Value

A stats::ts() object

See Also

DataCPSim

Examples

x <- test_set()
plot(x)
changepoints(x)

tidychangepoint documentation built on April 4, 2025, 4:31 a.m.