Learn R Programming

multiblock (version 0.8.8.2)

unique_combos: Unique combinations of blocks

Description

Compute a list of all possible block combinations where the number of blocks in each combination is limited by parameters min_level and max_level.

Usage

unique_combos(n_block, max_level, min_level = 2)

Value

A list of unique block combinations.

Arguments

n_block

integer number of input blocks.

max_level

integer maximum number of blocks per combination.

min_level

integer minimum number of blocks per combination.

Details

This function is used for minimal redundancy implementations of rosa and sopls and for lookups into computed components.

Examples

Run this code
unique_combos(3, 2)

Run the code above in your browser using DataLab