Re: [R] Legend in scatterplot and adding regression lines

2008-05-12 Thread John Fox
Dear Andrew, The scatterplot() function is in the car package, and xyplot() is in the lattice package. The Rcmdr dialog boxes for these functions don't provide for all possible uses, especially in the case of xyplot(). See the help pages ?scatterplot and ?xyplot for more information. With respec

[R] Legend in scatterplot and adding regression lines

2008-05-12 Thread Andrew McFadden
Hi R users The scatterplot (used package R-Cmdr ) obtained has the legend off the plot in the upper left I would like to decide where to put the legend - is that option still available and how do I do it? code: Dataset <- read.table("J:/Pigmatingsb.txt", header=TRUE, sep="\t", na.strings="NA",