dim.ordered {mining}R Documentation

Is a dimension ordered?

Description

Query whether each array dimension is ordered or not.

Usage

dim.ordered(x)

Arguments

x an array

Details

Intuitively, a dimension is ordered if its values are in a natural progression, such as (1,2,3) or ("one","two","three"). Programmatically, a dimension is considered ordered if and only if the corresponding dimnames vector has an ordered attribute set to T.

Value

A named logical vector, with an entry for each dimension, indicating whether it is ordered or not.

Author(s)

Tom Minka


[Package Contents]