search for: eval_r

Displaying 1 result from an estimated 1 matches for "eval_r".

Did you mean: eval_f
2010 Nov 04
1
Best Fit line trouble with rsruby
...p1Conc) graphData.assign('y', p1AbsorbanceArray) fit = graphData.lm('x ~ y') graphData.plot(concentration, absorbance) graphData.abline(fit["coefficients"]["(Intercept)"], fit["coefficients"]["y"]) puts fit["coefficients"] graphData.eval_R("dev.off()") (p1Conc and p1AbsorbanceArray are arrays) This worked for the graph, but the best fit line looked (and the infinitesimally small slope supported) like it was based off a single point. The site said they had to define something in the R interpreter first, but didn't elab...