Description Usage Arguments Value Examples
View source: R/end_to_end_cp_algorithm_v2.R
This is a wrapper function that comforms to the other get_grooves functions.
1 | get_grooves_bcp(x, value, adjust = 10, ...)
|
x |
numeric vector of locations in microns |
value |
numeric vector of surface measurements in microns |
adjust |
positive number to adjust the grooves - XXX should be expressed in microns rather than an index |
... |
Additional arguments to be passed to detect_cp_v2. |
A named list containing the output from variable_cp_gibbs function, the range of data that was actually used for the changepoint algorithm (since it doesn't impute values past the outermost non-missing values), and the estimated groove locations.
1 2 3 4 5 6 7 8 | data("example_data")
head(example_data)
example_data <- example_data[seq(from = 1, to = nrow(example_data), by = 30),]
cp_gibbs3 <- get_grooves_bcp(x = example_data$x,
value = example_data$value,
adjust = 10,
iter = 300,
warmup = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.