Description Usage Arguments Value Examples

View source: R/detectMaxChange.R

Change point detection using max-type statistic as in Jeong et. al (2016)

1 2 3 4 5 6 7 8 9 | ```
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 correspoding to window size arranged in column

**CLXLocalFDR** The Local FDR calculated for each time point

**br** The final estimated break points

1 | ```
out2= detectMaxChange(changesim, m=c(30, 35, 40, 45, 50), n.cl=1)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.