Learn R Programming

cocoreg (version 0.1.1)

generate_paths_cyclic: Generate cyclic paths

Description

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

Usage

generate_paths_cyclic(ind, n)

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.