powered by
rmw_find_breakpoints will generally be applied to a data frame after rmw_normalise. rmw_find_breakpoints is rather slow.
rmw_find_breakpoints
rmw_normalise
rmw_find_breakpoints(df, h = 0.15, n = NULL)
Tibble with a date variable indicating where the breakpoints are.
date
Tibble from rmw_normalise to detect breakpoints in.
Minimal segment size either given as fraction relative to the sample size or as an integer giving the minimal number of observations in each segment.
Number of breaks to detect. Default is maximum number allowed by h.
h
Stuart K. Grange
# Test for breakpoints in an example normalised time series data_breakpoints <- rmw_find_breakpoints(data_london_normalised)
Run the code above in your browser using DataLab