[R] R squared value for a line on a plot

Ben Bolker bolker at ufl.edu
Tue Oct 7 19:05:09 CEST 2008


Georgina Sarah Humphreys <g.humphreys.1 <at> research.gla.ac.uk> writes:

> 
> Does anyone know how to retrieve the R squared value for a line on a graph?
> 
> Thanks
> Georgina
> 

  We need a LOT more information to answer your question ...
please read the posting guide and tell us in a bit more
detail what you're trying to do.  It sounds like you
have a graphical figure of a regression line in a paper
and want to know the R^2, which is basically impossible
unless you have the original data, or unless the plot
shows the data points and you can retrieve by digitizing
(look for the g3data software tool).

  Ben Bolker



More information about the R-help mailing list