sumseg: sumseg

Description Usage Arguments Value Examples

Description

sumseg is fast breakpoints function allowing for bid dtasets This combines predict.ss and summary.ss

Usage

1

Arguments

D

timeseries or vector of data

max.breaks

The maximum number of breaks is 3^d

sig

is the critical value for accepting

plot

for plotting intermediate results

Value

model fitted and the data.table of cuts

Examples

1
2
3
4
5
values=rnorm(400)+c(rep(-0.5,400/2),rep(0.5,400/2))
o=sumseg(values)
plot(1:400,values)
lines(o$data$index,o$data$fitted,col=2,lwd=4)
print(o$breaks)

davids99us/anomaly documentation built on May 15, 2019, 1:15 a.m.