Combines multiple interval objects into a single interval object.

ibind(..., class = FALSE)

Arguments

...

Interval objects to bind together.

class

Logical value indicating whether to assign a new class label to each interval object when binding. If `TRUE`, each set of intervals will have a distinct class label.

Value

A new interval object containing the combined intervals from the input objects.

Examples

ibind(iaggregate(iris, 5), iaggregate(iris, 5))
#> , , Sepal.Length
#> 
#>            min max
#> setosa     4.3 5.8
#> versicolor 4.9 7.0
#> virginica  4.9 7.9
#> setosa     4.3 5.8
#> versicolor 4.9 7.0
#> virginica  4.9 7.9
#> 
#> , , Sepal.Width
#> 
#>            min max
#> setosa     2.3 4.4
#> versicolor 2.0 3.4
#> virginica  2.2 3.8
#> setosa     2.3 4.4
#> versicolor 2.0 3.4
#> virginica  2.2 3.8
#> 
#> , , Petal.Length
#> 
#>            min max
#> setosa     1.0 1.9
#> versicolor 3.0 5.1
#> virginica  4.5 6.9
#> setosa     1.0 1.9
#> versicolor 3.0 5.1
#> virginica  4.5 6.9
#> 
#> , , Petal.Width
#> 
#>            min max
#> setosa     0.1 0.6
#> versicolor 1.0 1.8
#> virginica  1.4 2.5
#> setosa     0.1 0.6
#> versicolor 1.0 1.8
#> virginica  1.4 2.5
#> 
#> Available components:
#> [1] "inter" "class"
ibind(iaggregate(iris, 5), iaggregate(iris, 5), iaggregate(iris, 5),
class = TRUE)
#> , , Sepal.Length
#> 
#>            min max
#> setosa     4.3 5.8
#> versicolor 4.9 7.0
#> virginica  4.9 7.9
#> setosa     4.3 5.8
#> versicolor 4.9 7.0
#> virginica  4.9 7.9
#> setosa     4.3 5.8
#> versicolor 4.9 7.0
#> virginica  4.9 7.9
#> 
#> , , Sepal.Width
#> 
#>            min max
#> setosa     2.3 4.4
#> versicolor 2.0 3.4
#> virginica  2.2 3.8
#> setosa     2.3 4.4
#> versicolor 2.0 3.4
#> virginica  2.2 3.8
#> setosa     2.3 4.4
#> versicolor 2.0 3.4
#> virginica  2.2 3.8
#> 
#> , , Petal.Length
#> 
#>            min max
#> setosa     1.0 1.9
#> versicolor 3.0 5.1
#> virginica  4.5 6.9
#> setosa     1.0 1.9
#> versicolor 3.0 5.1
#> virginica  4.5 6.9
#> setosa     1.0 1.9
#> versicolor 3.0 5.1
#> virginica  4.5 6.9
#> 
#> , , Petal.Width
#> 
#>            min max
#> setosa     0.1 0.6
#> versicolor 1.0 1.8
#> virginica  1.4 2.5
#> setosa     0.1 0.6
#> versicolor 1.0 1.8
#> virginica  1.4 2.5
#> setosa     0.1 0.6
#> versicolor 1.0 1.8
#> virginica  1.4 2.5
#> 
#> Available components:
#> [1] "inter" "class"