model_cpts | R Documentation |
Fit a glm model model with an arbitrary number of changepoints. Applies binary segmentation to obtain changepoints that approximately maximize likelihood.
model_cpts( bdat, min_len = 10, alpha = 0.05, multiplicity = "BH", boot_iter = 10^3 )
bdat |
Dataframe with time and count. |
min_len |
Minimum time length to model changepoints. |
alpha |
Specify level at which to control FWE or FDR. |
multiplicity |
Specify form of multiplicity control. One of "none", "bonferroni", "BH" (equivalently, "FDR"), "BY". Defaults to "BH" |
boot_iter |
Number of bootstrap iterations for changepoint selection statistic. |
List of glm objects collectively representing multiple-changepoint model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.