[R] Question about Distinguishable Permutation

Robin Hankin r.hankin at noc.soton.ac.uk
Tue Oct 9 10:09:38 CEST 2007


On 6 Oct 2007, at 20:05, house-ball wrote:

> Hi,
>
>   How can I list all possilities of Distinguishable Permutation by  
> R? For example, N=6, n1=n2=n3=2, the total possible answers are 6!/ 
> (2!2!2!)=90.
>
>   Please help me.
>

Hello

packages "gregmisc", "combinat", and "partitions" include related  
functionality.
However,  none of these (AFAICS) solves your problem, which is now
on my Things To Do List [don't hold your breath].

What is your application?






>
>   Thank you So much.

--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743



More information about the R-help mailing list