adjust_pattern: A function to create new pattern-coding schemes for the Fisher Information.
Description
Adjusts and reorders a pattern ordering matrix.
Usage
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
Value
A numeric matrix that contains the permutation matrix.
Details
This function reorders permutations based on "jumps" or based on "bitflips".
References
Sebastian Sippel, 2014. Master Thesis. University of Bayreuth.