Learn R Programming

loe (version 1.1)

get.order: Making ordinal information.

Description

For a given dissimilarity matrix $\Xi=(\xi_{ij})_{n\times n}$, creating the ordinal information matrix whose row vectors are ordinal quadruples of indices: a row vector $(i,j,k,l)$ means $\xi_{ij}

Usage

get.order(DM)

Arguments

DM
A dissimilarity matrix.

Value

  • The matrix whose row vectors are ordinal quadruples of indices: a row vector (i,j,k,l) means $\xi_{ij}<\xi_{kl}$.< li="">

Examples

Run this code
data(eurodist)
OIF <- get.order(as.matrix(eurodist))

Run the code above in your browser using DataLab