> Am I right in thinking that the correct way of working out how many 
possible
> permutations there can be in this instance is: N! / (n1!) (n2!) (n3!)...
> (ni!). Where N is the number of taxa (14) and (for character 2) n1 could 
be
> 'number of state zeros' (i.e., 2), n2 could be 'number of state ones' 
(i.e.,
> 2), n3 could be 'number of state twos (i.e., 1) etc?

Yes, you are correct.   Take a look at the sample() function to generate 
your permutations.

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}

______________________________________________
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.

Reply via email to