R/simulate.R
signal_teeth.Rd
A piecewise-constant signal with regularly spaced changepoints.
signal_teeth(n = 2000, seed = NULL)
Length of the signal. Defaults to 2000.
Optional seed.
A tibble with columns index and value.
index
value