test_set {tidychangepoint}R 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)

[Package tidychangepoint version 1.0.0 Index]