permutate_binary_matrix: Reorder an object to match a target as closely as possible

Description Usage Arguments Value

View source: R/permutations.R

Description

Rearranges columns within a matrix until the closest permutation to the target is found.

Usage

1
permutate_binary_matrix(current, target)

Arguments

current

Present matrix object.

target

Desired matrix object.

Value

A permutated_matrix object that contains:


tmsalab/edmcore documentation built on Sept. 4, 2021, 2:46 a.m.