Displaying 1 result from an estimated 1 matches for "pigmatingsb".
2008 May 13
1
Legend in scatterplot and adding regression lines
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", dec=".", strip.white=TRUE)
scatterplot(Farrowing.rate~Time.in.Weeks | Operator, reg.line=lm,
smooth=FALSE, labels=FALSE, boxplots=FALSE, span=0.5, by.groups=TRUE,
ylab="Farrowing Rate", xlab="Time in Wee...