If a value can be ordered
is.orderable(x)
returns !is.na()
.
is.orderable(x)
x |
object to be tested. |
x
should not be a list; in that case the behavior currently
differs between S-PLUS and R.
is.orderable
returns a logical vector of the same length
as x
.
x <- c(1, 4, NA, 0, 5) is.orderable(x) # [1] TRUE TRUE FALSE TRUE TRUE
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.