Here's a sample:
> unif_rand_1 <- runif(1000);
> unif_rand_2 <- runif(1000);
> ks.test(unif_rand_1,unif_rand_2);
Two-sample Kolmogorov-Smirnov test
data: unif_rand_1 and unif_rand_2
D = 0.021, p-value = 0.9802
alternative hypothesis: two-sided
So in your case:
> ks.test( runif( length( you
Although this is an update of the same code base, RServe is nice and has
newer objects that one may use. For example, the exception handling has been
improved and now there is a external server ability. Before you give up on
JRI look into the newer code, it might be more useful.
http://www.rforge.
Can someone help me with a misunderstanding I'm having with hist? I
expected, from the example below, that the number of bins would always be 10
and the length of the counts array the same. According to the help section
'breaks' can be a integer indicating the number of bins. From the example
below
3 matches
Mail list logo