[R] combinations

Berend Hasselman bhh at xs4all.nl
Sun Apr 29 14:31:08 CEST 2012


On 29-04-2012, at 13:09, Melinda Harwood wrote:

> I am trying to make a function "permute" that takes two arguments: 1)
> and alphabet consisting of a set of symbols and 2) a length being a
> single integer N.With a safety check check in permute() that stops
> execution (use the stop() function) with a warning when the number of
> permutations would exceed 105.
> 

H'm.

See the thread "Writing a Permutation Function" of yesterday.

Berend



More information about the R-help mailing list