Efficient implementation of binary segmentation
This package uses the .C
interface.
- binseg_normal returns everything you would need to recover model parameters (segment means).
- binseg_normal_cost returns just the cost (faster by some small constant factors).
See binsegRcpp for a more user friendly implementation of the same algorithm which also includes documentation/methods/examples/tests.