is.orderable: If a value can be ordered

Description Usage Arguments Details Value Author(s) See Also Examples

Description

is.orderable() returns !is.na()

Usage

1

Arguments

x

object to be tested

Details

is.orderable(x) works elementwise when x is a list.

Value

is.orderable returns a logical vector of the same attribute as its argument x

Author(s)

Knut M. Wittkowski kmw@rockefeller.edu

See Also

is.na

Examples

1
2
3
x <- c(1, 4, NA, 0, 5)
is.orderable(x)
# [1]  TRUE  TRUE FALSE  TRUE  TRUE

muStat documentation built on May 29, 2017, 6:10 p.m.

Search within the muStat package
Search all R packages, documentation and source code