[R] Permutation Test
Richard.Cotton at hsl.gov.uk
Richard.Cotton at hsl.gov.uk
Thu Feb 21 11:46:46 CET 2008
> 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}}
More information about the R-help
mailing list