Description Usage Arguments Value

Generate all/some paths between points

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

`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. |

A list of lists containing the paths.

bwrc/cocoreg-r documentation built on June 4, 2017, 8:41 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.