Simulate time series with known changepoint sets
test_set.Rd
Simulate time series with known changepoint sets
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
Examples
x <- test_set()
plot(x)
changepoints(x)
#> [1] 696