Learn R Programming

RMallow (version 1.1)

ConstructSeqs: Constructs sequences from Kendall Information matricies.

Description

Sequences in a fully-ordered sequence space have a unique Kendall Information vector associated with them. This function creates the sequence from the Kendall information vector.

Usage

ConstructSeqs(prefs, n.abils)

Arguments

prefs

Ordering preference between columns in the data. 1 cooresponds to an increase, 0 to a decrease.

n.abils

Number of columns in the original data set.

Value

List of fully-ordered sequences, one for each row of prefs.

Examples

Run this code
# NOT RUN {
ConstructSeqs(matrix(c(1, 1, 1, 0, 0, 0), nrow = 1), 4)
# Should output (4, 1, 2, 3)
# }

Run the code above in your browser using DataLab