generate_paths: Generate all/some paths between points

Description Usage Arguments Value

View source: R/cocoreg.R

Description

Generate all/some paths between points

Usage

1
generate_paths(ind, n, cyclic = FALSE, sample_paths = FALSE)

Arguments

ind

[1,2] int, The starting and ending point c(start, end).

n

[1,1] int, Number of points in the whole set.

cyclic

boolean, Should the path be cyclic (1-2-1) or noncyclic (2-1).

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.


cocoreg documentation built on May 19, 2017, 1:47 p.m.

Search within the cocoreg package
Search all R packages, documentation and source code

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

Please suggest features or report bugs in the GitHub issue tracker.

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