Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is.orderable

If a value can be ordered


Description

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

Usage

is.orderable(x)

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

Examples

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

muStat

Prentice Rank Sum Test and McNemar Test

v1.7.0
GPL (>= 2)
Authors
Knut M. Wittkowski <kmw@rockefeller.edu> and Tingting Song <ttsong@gmail.com>
Initial release
2010-09-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.