Experimental disindex class provides a disordR-compliant
method for indexing disord objects. The idea is that
which(x), where x is Boolean of class disord,
should have meaning under disordR discipline. Thus
which() gives a disindex object. This object can be
used as an index for other disord objects. One application
would be the dismat class of matrices, currently under
development.
Function values() coerces its argument to an integer vector.
Arguments
Objects from the Class
Objects can be created by calls of the form new("disindex", ...),
although which() is more natural.
Slots
value:
Numeric vector
hash:
Object of class character that
specifies the hash code