[R] Problem with legend

Komine momadou at yahoo.fr
Tue Sep 20 16:13:47 CEST 2011

This code is part of a code I used to do a linear regression:

>c("NDII from composite",  
>"y= 0.0007x - 0.1156",expression(paste(r^2 == 0.88)),"p-value <0.001"),

But I have a problem to complete the legend.
Indeed, on the legend, I want to display a point  in front "Ndii from
composite images." But when I run my code I get a point in front, "Ndii from
composite images" but also before "y = 0.0007x - 0.1156", "r ^ 2 == 0.88," "
and " p-value <0.001 "."
How can I do to obtain only one point in front "Ndii from composite images"?
Thank you in advance 

View this message in context: http://r.789695.n4.nabble.com/Problem-with-legend-tp3826973p3826973.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list