as.IntervalData: Convert a real number into a degenerate interval
Description
This function allows to coerce a real number stored as a single
numeric object to a degenerate interval formed only by this real
number saved as an IntervalData instance.
Usage
# S4 method for numeric
as.IntervalData(object)
Value
This function returns a degenerate interval saved as an object
of class IntervalData.
Arguments
object
A single real number stored as a single numeric object.
Single real numbers could be seen as particular cases of interval-valued
data where each interval's lower and upper bounds are equal or,
alternatively, its spread is zero.