Description Usage Arguments Value
View source: R/labelled_opart_gaussian.R
compute the optimal changepoint model for a vector of real-valued data and a non-negative real-valued penalty, given the square loss (to minimize) / gaussian likelihood (to maximize)
1 | labelled_opart_gaussian(data, labels, penalty)
|
data |
A numerical vector for which the changepoint model is to be computed |
labels |
A data frame containing information of labelled regions and breaks |
penalty |
A non-negative real number indicating penalty parameter |
A vector of the optimal cost values and a vector of the optimal segment ends
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.