search for: p1conc

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

Did you mean: conc
2010 Nov 04
1
Best Fit line trouble with rsruby
...ected in a Chemistry class. The problem is that although the graph functions perfectly properly, the best fit line will not work. I initially used code I pretty much copied from a website with a tutorial on this, which was: graphData.png("/code/Beer's-Law Graph.png") concentration = p1Conc absorbance = p1AbsorbanceArray graphData.assign('x', p1Conc) graphData.assign('y', p1AbsorbanceArray) fit = graphData.lm('x ~ y') graphData.plot(concentration, absorbance) graphData.abline(fit["coefficients"]["(Intercept)"], fit["coefficients"][...