Function to tabulate interval objects
table(x, ...)# S3 method for interval
table(x, sort = "lowerbound_increasing", ...)
# S3 method for default
table(x, ...)
In its most save way, x
is an object from class interval
.
Other parameters passed to table
.
A character specifying how the values should be sorted if only one variable is to be plotted.
sort = "lowerbound_increasing"
(the default) sorts the data primarily by their lower bound, and secondarily
(this means for equal lower bounds) by their upper bounds. Both in increasing order.
For sort = "lowerbound_decreasing"
both happens in decreasing order.
sort = "mostprecise_increasing"
sorts the data by their length of the interval they represent,
and within equal lengths by the lower bound. Both in increasing order.
sort = "mostprecise_decreasing"
both happens in decreasing order.
A table.