show {IntervalQuestionStat} | R Documentation |
This function allows to print in the console basic information of interval-valued data.
## S4 method for signature 'IntervalData'
show(object)
## S4 method for signature 'IntervalList'
show(object)
## S4 method for signature 'IntervalMatrix'
show(object)
object |
A single interval, a list of intervals or a matrix with several
intervals stored as an |
For IntervalData
and IntervalList
objects, both inf/sup
and mid/spr characterizations of the intervals are printed, and
for IntervalMatrix
instances, the number of rows and
columns is shown.
This function does not return any value. It only prints the interval-valued object's information.
José García-García garciagarjose@uniovi.es
## Show an interval-valued data
i <- IntervalData(0, 1)
show(i)
## Show an interval-valued data list
list <- IntervalList(c(0, 3, 2, 5, 6), c(4, 5, 4, 8, 7))
show(list)
## Show an interval-valued data matrix
m <- IntervalMatrix(matrix(c(0, 1, 2, 3, 0, 3, 4, 9), 2, 4))
show(m)