possible_combinations {NetFACS}R Documentation

Calculate all possible combinations of elements

Description

Takes a vector of elements and returns a vector with all possible combinations

Usage

possible_combinations(elements, maxlen, sep = "_")

Arguments

elements

A vector of elements

maxlen

maximum size of combinations to be considered

sep

String. Separator used for showing combinations of elements

Value

A vector with all element combinations


[Package NetFACS version 0.5.0 Index]