adjCombos: Create Adjacent Combinations, Varying Length

Description Usage Arguments Value Author(s) References Examples

View source: R/adjCombos.R

Description

Create adjacent combinations of the elements of a vector, varying the length with each iteration.

Usage

1
adjCombos(invec)

Arguments

invec

The input vector

Value

A list of vectors

Author(s)

Ananda Mahto

References

http://stackoverflow.com/a/20157957/1270695

Examples

1

mrdwab/SOfun documentation built on June 20, 2020, 6:15 p.m.