getclusterranges: Get the Cluster Ranges in a Vector of 1D Coordinates

Description Usage Arguments Examples

View source: R/getclusterranges.R

Description

Get the Cluster Ranges in a Vector of 1D Coordinates

Usage

1

Arguments

x

a numeric vector

gap

the size for the recognation of data free gaps

Examples

1
2
x = c(1:3, 11:13)
getclusterranges(x, 3)

Example output

  left right
1    1     3
2   11    13

l1kdeconv documentation built on May 2, 2019, 10:16 a.m.