[R] onet.permutation()

2011-09-17 Thread song_gpqg
I saw the manual of this function but not sure what to do. I have a array contain 7 numbers and want to choose 4 to do permutation test. But using this function with parameters as onet.permutation(scores,4), it returns 0. Instead, with no parameter, onet.permutation(), it returns something but

Re: [R] onet.permutation()

2011-09-17 Thread B77S
** I am not a statistician, but... The default arguments are: onet.permutation(x, nsim=2000, plotit=TRUE) you are making nsim=4 (this parameter is not the size of each sample, it is the number of samples taken) You are building the distribution for a statistical test through random sampling,

Re: [R] onet.permutation()

2011-09-17 Thread song_gpqg
Oh I see the problem. Many thanks! -- View this message in context: http://r.789695.n4.nabble.com/onet-permutation-tp3820372p3820721.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list