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.
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.