R: If a value can be ordered

is.orderable {muStat} | R Documentation

## 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

`is.na`

### Examples

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

[Package muStat version 1.7.0 Index]