Hi Harald, No I don't have R. I did convert the list(str) to a real list and did a trap on that and it did work. How do I get R into Sage? Thanx
On Nov 17, 2:58 pm, Harald Schilly <[email protected]> wrote: > On Nov 17, 10:10 pm, Mikie <[email protected]> wrote: > > > student tTest > > Hi, do you know that there is R inside Sage? An example right from > sagenb.org: > > import rpy2.robjects as robjects > data = robjects.IntVector([44,55,56,14*2]) > ttest = robjects.r['t.test'] > print ttest(data) > > gives: > > One Sample t-test > > data: c(44L, 55L, 56L, 28L) > t = 7.0263, df = 3, p-value = 0.005922 > alternative hypothesis: true mean is not equal to 0 > 95 percent confidence interval: > 25.02843 66.47157 > sample estimates: > mean of x > 45.75 -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
