Re: [Rpy] Rpy problem

2010-02-11 Thread Laurent Gautier
ort and design discussion list" > > > > > To > "RPy help, support and design discussion list" > > cc > > Subject > Re: [Rpy] Rpy problem > > > > > > > > > Hi John, > > Actually, I used rpy

Re: [Rpy] Rpy problem

2010-02-11 Thread John A Schroeder
Py help, support and design discussion list" cc Subject Re: [Rpy] Rpy problem Hi John, Actually, I used rpy classic in my program. I wonder whether it is possible to introduce the results of ks package for rpy2 and then I distinguish my result or not?? Since rpy classic has pr

Re: [Rpy] Rpy problem

2010-02-11 Thread zahra sheikhbahaee
v-Smirnov test. > ks = ks_test(uaData,"pnorm", mean=r.mean(uaData), > sd=r.sqrt(r.var(uaData))) > print " One-sample Kolmogorov-Smirnov test of the UA data" > #print ks > print "D = %.4f" % ks.r['statistic'][0][0] >

Re: [Rpy] Rpy problem

2010-02-11 Thread John A Schroeder
an(uaData), sd=r.sqrt(r.var(uaData))) print " One-sample Kolmogorov-Smirnov test of the UA data" #print ks print "D = %.4f" % ks.r['statistic'][0][0] print "p-value = %.4f" % ks.r['p.value'][0][0] print "Alte

Re: [Rpy] Rpy problem

2010-02-11 Thread zahra sheikhbahaee
Hi all, I tried the method that one of you proposed for attributing components on a list but the problem is that when I want to devote eval.points which is a list and contains two components. It could only devote the first component and actually it could not recognize the second one. >>>list_names

[Rpy] Rpy problem

2010-02-10 Thread zahra sheikhbahaee
Hi, I have written a program in python and then I used the ks(kernel density estimator)package of R for smoothing my dataset. Now, I need to extract the information which has been calculated by the package. The result is somthing like that: r.str(j) List of 4 $ x : num [1:3105, 1:2] 0.95