Hi -
So I'm currently trying to learn how to place the trendline equation and r^2 values onto a scatter plot.
Here's a sample data set that I'm working with -
starchSOH <- c(5.28,7.54,9.83,10.53,10.82,11.0,11.18)
pH <- c(0,.2,.4,.6,.8,1,1.2)
What would be the proper format for the AB line, and how do I display the trend line equation and r^2 value onto the scatter plot itself?
Feel free to use a different set of data for an example - that was just an arbitrary one I made up.