|
1 | 1 | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
|
2 | 2 | # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
|
3 | 3 |
|
4 |
| -#' Efficient log-linear cumulative median. |
| 4 | +### Efficient log-linear cumulative median. |
5 | 5 | cum_median_interface <- function(data_vec, weight_vec) {
|
6 | 6 | .Call(`_binsegRcpp_cum_median_interface`, data_vec, weight_vec)
|
7 | 7 | }
|
8 | 8 |
|
9 |
| -#' Use depth first search to compute a data.frame |
10 |
| -#' with one row for each segment, and columns |
11 |
| -#' splits and depth, number/depth of candidate |
12 |
| -#' splits that need to be |
13 |
| -#' computed after splitting that segment. |
| 9 | +### Use depth first search to compute a data.frame |
| 10 | +### with one row for each segment, and columns |
| 11 | +### splits and depth, number/depth of candidate |
| 12 | +### splits that need to be |
| 13 | +### computed after splitting that segment. |
14 | 14 | depth_first_interface <- function(n_data, min_segment_length) {
|
15 | 15 | .Call(`_binsegRcpp_depth_first_interface`, n_data, min_segment_length)
|
16 | 16 | }
|
17 | 17 |
|
18 |
| -#' Compute a data.frame with one row for each distribution |
19 |
| -#' implemented in the C++ code, and columns distribution.str, |
20 |
| -#' parameters, description. |
| 18 | +### Compute a data.frame with one row for each distribution |
| 19 | +### implemented in the C++ code, and columns distribution.str, |
| 20 | +### parameters, description. |
21 | 21 | get_distribution_info <- function() {
|
22 | 22 | .Call(`_binsegRcpp_get_distribution_info`)
|
23 | 23 | }
|
24 | 24 |
|
25 |
| -#' Low-level interface to binary segmentation algorithm. |
| 25 | +### Low-level interface to binary segmentation algorithm. |
26 | 26 | binseg_interface <- function(data_vec, weight_vec, max_segments, min_segment_length, distribution_str, container_str, is_validation_vec, position_vec) {
|
27 | 27 | .Call(`_binsegRcpp_binseg_interface`, data_vec, weight_vec, max_segments, min_segment_length, distribution_str, container_str, is_validation_vec, position_vec)
|
28 | 28 | }
|
|
0 commit comments