We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9effb47 commit 6b864bcCopy full SHA for 6b864bc
R/binseg.R
@@ -83,6 +83,9 @@ binseg <- structure(function # Binary segmentation
83
## splits. For l1/laplace distributions the best case is O(N log N
84
## log K) time for equal splits and worst case is O(N log N K) time
85
## for unequal splits.
86
+ if(distribution.str=="l1"){
87
+ Sys.sleep(0.0001*length(data.vec))
88
+ }
89
result <- binseg_interface(
90
data.vec, weight.vec, max.segments,
91
min.segment.length,
0 commit comments