Generate cyclic paths

Description

From a set of n numbers, generate all possible paths starting from and ending on a given number.

Usage

1

Arguments

ind

[1,1] ind, The starting dataset (equals to ending dataset because of cycle).

n

[1,1] ind, The number of datasets.

Value

A list of lists containing the paths.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.