Dear R users,
I would like to test the randomness in a series of N values (N=2). I know
that runs.test works for dichotomous factor only:
x - rep(c(1,2), 50)
runs.test(factor(x))
However it doesn't work for series that can take any N values (N2):
x - rep(c(1,2,5,4),50)
runs.test(factor(x))
[mailto:r-help-boun...@r-
project.org] On Behalf Of liujb
Sent: Thursday, September 24, 2009 8:52 AM
To: r-help@r-project.org
Subject: [R] multinormial runs tests?
Dear R users,
I would like to test the randomness in a series of N values (N=2). I
know
that runs.test works for dichotomous
2 matches
Mail list logo