show {IntervalQuestionStat}R Documentation

Print basic information of interval-valued data

Description

This function allows to print in the console basic information of interval-valued data.

Usage

## S4 method for signature 'IntervalData'
show(object)

## S4 method for signature 'IntervalList'
show(object)

## S4 method for signature 'IntervalMatrix'
show(object)

Arguments

object

A single interval, a list of intervals or a matrix with several intervals stored as an IntervalData, IntervalList, or IntervalMatrix object.

Details

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.

Value

This function does not return any value. It only prints the interval-valued object's information.

Author(s)

José García-García garciagarjose@uniovi.es

Examples

## 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)

[Package IntervalQuestionStat version 0.2.0 Index]