is.orderable | R Documentation |
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
.
is.na
x <- c(1, 4, NA, 0, 5)
is.orderable(x)
# [1] TRUE TRUE FALSE TRUE TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.