[R] Question about permutation test

csrabak crabak at acm.org
Sat Sep 17 03:07:18 CEST 2011

Hope you don't find this a rethorical question, but why did you prefer 
to "google" the function instead of reading the fine manual?

Em 16/9/2011 16:07, song_gpqg escreveu:
> Hi!
> I am doing a permutation test on 7 data randomly selected into two groups,
> one has 4 and the other 3. The purpose is to list all the 35 possible
> outcomes and calculate p-value. I googled the function perm.test() and not
> sure if my usage is correct. So I set a=c(7 data), b=(1,1,1,1,2,2,2) which
> represents the group. Then I use the function  pt=perm.test(a,b...). There's
> a p-value popped out. I want to see the histogram to know if it's correct.
> But hist(pt) gave me nothing. So I am wondering what I can do and is this
> procedure correct?
> Thanks a lot. I am just a beginner btw.
> Nellie
> --
> View this message in context: http://r.789695.n4.nabble.com/Question-about-permutation-test-tp3818900p3818900.html
> Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list