cbind {IntervalQuestionStat} | R Documentation |
Combine IntervalList
and IntervalMatrix
objects by columns
Description
This function allows to combine a sequence of lists and matrices of
intervals, that is, IntervalList
and IntervalMatrix
objects, by
columns, and store the result as an IntervalMatrix
instance.
Usage
## S4 method for signature 'IntervalListOrIntervalMatrix'
cbind(..., deparse.level = 1)
Arguments
... |
A sequence of lists or matrices of nonempty compact real intervals
stored as |
deparse.level |
Currently not used (put here to match the signature of the base implementation). |
Value
This function returns a matrix of interval-valued
data stored as an IntervalMatrix
object.
Author(s)
José García-García garciagarjose@uniovi.es
Examples
## Some cbind() examples
list1 <- IntervalList(c(0, 3), c(4, 5))
list2 <- IntervalList(c(3, 0), c(7, 4))
cbind(list1, list2)
matrix1 <- IntervalMatrix(matrix(c(0, 1, 2, 3, 0, 3, 4, 9), 2, 4))
matrix2 <- IntervalMatrix(matrix(c(1, 5, 2, 6, 0, 1, 2, 3), 2, 4))
cbind(matrix1, matrix2)
cbind(list1, matrix1)
[Package IntervalQuestionStat version 0.2.0 Index]