getnext: Get the next permutation(s)/combination(s) for a iterator

Description Usage Arguments Value

View source: R/iterpc.R

Description

Get the next permutation(s)/combination(s) for a iterator

Usage

1
getnext(I, d = 1, drop = TRUE)

Arguments

I

a permutation/combination iterator

d

number of permutation(s)/combination(s) wanted, default to 1

drop

if d is 1, drop simplify to vector if possible, default to TRUE.

Value

next d permutation(s)/combination(s) sequence for the iterator I


iterpc documentation built on Sept. 13, 2017, 1:03 a.m.