Structural Break Detection with Genetic Algorithms DTU Logo Structural Break Detection with Genetic Algorithms LNU Logo

Paul Fischer, DTU Informatics, and Astrid Hilbert , LNU-DFM

R package SBRect for structural break detection with rectangles

The R-package can be found here . Report bugs here.

To install the package form a local file use
install.packages("<PATH TO PACKAGE>/SBRect_0.2.6.1.tar.gz", repos = NULL, type="source")
Some users experienced problems installing packages which are based on rjava. The following helped in most cases:
if (Sys.getenv("JAVA_HOME")!=""){
tmp <-  Sys.setenv(JAVA_HOME="")
install.packages("<PATH TO PACKAGE>/SBRect_0.2.6.1.tar.gz", repos = NULL, type="source")
 Sys.setenv(JAVA_HOME=tmp)
 } else{
 install.packages("<PATH TO PACKAGE>/SBRect_0.2.6.1.tar.gz", repos = NULL, type="source")
 }

Java applet

The applet contains a number time series. You can also use series stored on your computer by selecting "Open local file". Data files have to be in the following format: ASCII file, one data point per line in decimal format. Lines starting with "#" are skipped. Example

# data file
1.23
23.34
12
.34