R/computeRectangles.R

Defines functions computeRectangles

Documented in computeRectangles

computeRectangles<- function(series,alpha){
BPDriver <- .jnew("edu.dtulnu.stat.brpts.rect.BreakPointsMinMaxDriver") # create instance of BreakPointsMinMaxDriver class
out <- .jcall(BPDriver,  "[[D" , "computeRectangles",series,alpha,evalArray=TRUE) # invoke computeRectangles method
out <- sapply(out, .jevalArray)
out <- t(out)
return(out)
}

Try the SBRect package in your browser

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

SBRect documentation built on May 2, 2019, 11:27 a.m.