View source: R/detectMaxChange.R
detectMaxChange | R Documentation |
Change point detection using max-type statistic as in Jeong et. al (2016)
detectMaxChange(
Y,
m = c(30, 40, 50),
margin = 30,
thre.localfdr = 0.2,
design.mat = NULL,
plotTF = TRUE,
n.cl
)
Y |
Input data matrix |
m |
window sizes |
margin |
margin |
thre.localfdr |
threshold for local fdr |
design.mat |
design matrix for analyzing task data |
plotTF |
Draw plot to see test statistic and threshold |
n.cl |
number of clusters for parallel computing |
CLX Test statistic corresponding to window size arranged in column
CLXLocalFDR The Local FDR calculated for each time point
br The final estimated break points
out2= detectMaxChange(changesim, m=c(30, 35, 40, 45, 50), n.cl=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.