elaborator_calculate_ref_pattern {elaborator}R Documentation

Returns row of a matrix containing all combinations of elements 0 and 1 of a pre-specified length

Description

This function is mostly useful for generating the reference-value based pattern analysis plots. It returns the (i-1)-th row of a matrix containing all combinations of elements 0 and 1 of a pre-specified length.

Usage

elaborator_calculate_ref_pattern(index, number_combinations)

Arguments

index

selected row -1 of the combination matrix which shall be returned

number_combinations

length of the combination vector

Value

A numeric vector containing a specific combination of elements 0 and 1; this combination is used to calculate pattern for reference-value based pattern analysis plot.


[Package elaborator version 1.3.5 Index]