generate_paths_noncyclic: Generate non-cyclic paths

Description

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

Usage

1
generate_paths_noncyclic(ind, n, sample_paths = FALSE)

Arguments

ind

The starting dataset

n

The number of datasets.

sample_paths

boolean, If FALSE, all possible paths are generated. If TRUE one path per ending point is selected.

Value

A list of lists containing the paths.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.