Hi

I would like to display the trendline and the R-square value in a xy scatter in R. For example if I want to plot f vs g I add the trendline using the commands below

>library(quantreg)
>plot(f,g)
>abline(rq(g~f))

however I don't know how to display the R2 in the graph.

Thank you in advance.

Kind regards
Maria

	[[alternative HTML version deleted]]


