gtools_comb: Helper function: gtools::combination

Description Usage

Description

This helper function is produces all possible combinations for a set of numbers. This is an direct copy of the combination() function from package gtools, and is used in function pm_fludity_all().

Usage

1
gtools_comb(n, r, v = 1:n, set = TRUE, repeats.allowed = FALSE)

ampatzia/pasaR documentation built on May 12, 2019, 2:37 a.m.