I was just testing out ks.test()
y - runif(1, min=0, max=1)
ks.test(y, runif, min=0, max=1, alternative=greater)
One-sample Kolmogorov-Smirnov test
data: y
D^+ = 0.9761, p-value 2.2e-16
alternative hypothesis: the CDF of x lies above the null hypothesis
It seems that everytime
oops sorryreally careless. thanks !
On Thu, Sep 2, 2010 at 10:03 AM, Alain Guillet
alain.guil...@uclouvain.be wrote:
Hi,
Are you sure you don't want to do ks.test(y, punif, min=0, max=1,
alternative=greater) instead of what you tried?
Alain
On 02-Sep-10 15:52, Samsiddhi
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using R CMD SHLIB by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but
Dear all,
Sorry about posting this to R-help by mistake. I just realized it
belongs to the r-devel list.
So I am reposting it there.
-
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using R CMD SHLIB by linking my
4 matches
Mail list logo