stephen sefick wrote:
?lines
Or ?points or maybe ?matplot. Notice that there are a couple of snags, such as having to adjust graphical parameters in order to make room enough on the plot. Most introductory texts on R and R graphics cover this, I think.

You can overlay arbitrary plots by setting par(new=TRUE) in between, although that is almost always the wrong solution. (SAS's overlay features are not worth cloning in my opinion. It will do things like automatically set up a legend, but puts in funny restrictions: plotting data and predicted values in the same plot is OK, plotting data by group OK, data and predicted values by group not OK or at least not easy.)
On Mon, Jul 28, 2008 at 12:57 PM, Phillip R. Hunt <[EMAIL PROTECTED]>wrote:

I am trying to create a graph that puts three x-y plots (age vs rate for
three categories ) on a single plot.  SAS does this with the overlay
function.  I cannot find in the R documentation a method for doing this.
Any
help would be appreciated.



Thanks,

Phill





Phillip R. Hunt, Sc.D.

24 Pleasant St.

Newfields, NH 03856






       [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.






--
  O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
 c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])              FAX: (+45) 35327907

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to