The package for Online Detection.
How to install the package:
install.packages("devtools") ##install "devtools" package
library("devtools")
install_github("StatisticsL/OnlineDetection/OnlineDetection")
You can use "demo_ls.R" to do a simple simulation.