tests/testthat.R

library(testthat)
library(onlineBcp)

x <- c(rnorm(10, 0, 1), rnorm(10, 5, 1))
bcp <- online_cp(x)
summary(bcp)


test_check("onlineBcp")

Try the onlineBcp package in your browser

Any scripts or data that you put into this service are public.

onlineBcp documentation built on May 31, 2022, 5:06 p.m.