| Partitions-class | R Documentation |
The Partitions class is an S4-class that exposes C++ classes that provide access to iterators and other useful methods.
nextIterRetrieve the next lexicographical result
nextNIterPass an integer n to retrieve the next n lexicographical results
nextRemainingRetrieve all remaining lexicographical results
currIterReturns the current iteration
startOverResets the iterator
sourceVectorView the source vector
summaryReturns a list of summary information about the iterator
frontRetrieve the first lexicographical result
backRetrieve the last lexicographical result
randomAccessRandom access method. Pass a single value or a vector of valid indices. If a single value is passed, the internal index of the iterator will be updated, however if a vector is passed the internal state will not change. GMP support allows for flexible indexing.
Joseph Wood
Combo-class, Constraints-class
showClass("Partitions")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.