interuption due to a goof on my part!
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
P.O. Box 1625
Idaho Falls, ID 83415-3850
Ph: 208-526-8755
FAX: 208-526-2930
John A Schroeder
11/02/2010 10:04 AM
Please respond to
"RPy help, support and design discussion
\R-2.12.0\bin\i386
R_HOME=C:\Program Files\R\R-2.12.0\bin\i386\
Here is the location of my R.dll and .exe
C:\Program Files\R\R-2.12.0\bin\i386
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
P.O. Box 1625
Idaho Falls, ID 83415-3850
Ph: 208-526-8755
FAX: 20
by line-by-line translation of the R code to RPy.
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
P.O. Box 1625
Idaho Falls, ID 83415-3850
Ph: 208-526-8755
FAX: 208-526-2930
John A Schroeder
03/16/2010 01:45 PM
Please respond to
"RPy help, support and d
This might be a good start.
http://darwin.eeb.uconn.edu/eeb348/supplements-2006/chi-squared/chi-squared.html
Google is a wonderful thing!
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
P.O. Box 1625
Idaho Falls, ID 83415-3850
Ph: 208-526-8755
FAX: 208-526-2930
e the code originally provided by
# Tim Churches. There may be a few places where some edits might be
# in order to represent preferred rpy2 syntax. If so, I would appreciate
# the feedback. I have done this as a learning exercise, and donate it
# to the RPy community.
#
# John A. Schroeder
#
web
site.
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
P.O. Box 1625
Idaho Falls, ID 83415-3850
Ph: 208-526-8755
FAX: 208-526-2930
zahra sheikhbahaee
02/11/2010 10:11 AM
Please respond to
"RPy help, support and design discussion list"
To
"R
f the UA data"
#print sw
print "W = %.4f" % sw.r["statistic"][0][0]
print "p-value = %.4E" % sw.r["p.value"][0][0]
print " "
# Run the Kolmogorov-Smirnov test.
ks = ks_test(uaData,"pnorm", mean=r.me
, p-value = 1.751e-15
Regular users of rpy2 must have worked something out that allows them
convenient access to the named components?
By the way, I do appreciate the patience you have shown. Thanks much for
the help!
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
r, self).__getitem__(i)
TypeError: 'str' object cannot be interpreted as an index
If the above does not work, how do I access items in the returned list?
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
P.O. Box 1625
Idaho Falls, ID 83415-3850
Ph: 208-526-
machine but could not get
it to work. Can anyone tell me how to access the above objects in rpy2
(2.0.8) ? Since I am new to python as well as rpy, it seems patching
packages or using the build tools is a bit beyond me.
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
would be a very good start! Can anyone
point me in the right direction?
John A. Schroeder
Idaho National Laboratory
Battelle Energy Alliance, LLC
P.O. Box 1625
Idaho Falls, ID 83415-3850
Ph: 208-526-8755
FAX: 208-526-2930
EXAMPLE 1. -- This works!
from rpy2.robjects import *
def main():
11 matches
Mail list logo