adjust_pattern: A function to create new pattern-coding schemes for the...

Description Usage Arguments Details Value Author(s) References

View source: R/transformPermCoding.R

Description

Adjusts and reorders a pattern ordering matrix.

Usage

1
adjust_pattern(pattern_matrix, adjustment)

Arguments

pattern_matrix

A numeric matrix that specifies the pattern to be transformed into the position vector. ATTENTION: Pattern should be in the ranks permutation notation, otherwise does not really make sense.

adjustment

A character vector, either adjustment = "jumps" or adjustment = "bitflips" that denotes the sorting type

Details

This function reorders permutations based on "jumps" or based on "bitflips".

Value

A numeric matrix that contains the permutation matrix.

Author(s)

Sebastian Sippel

References

Sebastian Sippel, 2014. Master Thesis. University of Bayreuth.


statcomp documentation built on May 29, 2017, 5:51 p.m.