reduceVector {permChacko}R Documentation

Reduce a vector using the ordering process

Description

This function implements the ordering process described in Chacko (1963) and Chacko (1966).

Usage

reduceVector(x, verbosity = 0L)

Arguments

x

a vector of numeric values

verbosity

a natural number indicating the amount of output to print

Value

A list containing the original vector, the reduced vector, their weights and the number of reductions performed. Use names() and str() on the output for more details.

Author(s)

Waldir Leoncio

Examples

reduceVector(c(10, 16, 14, 12, 18))
reduceVector(c(10, 8, 4, 2, 1))
reduceVector(chacko66_sec3)
reduceVector(chacko66_sec5)
reduceVector(chacko66_sec5, verbosity = 1)

[Package permChacko version 1.0.0 Index]