Return the dimension of the interval.

# S3 method for class 'interval'
dim(x)

Arguments

x

An interval object.