Re: [R] how to plot two graphs in one figure

From: stephen sefick <ssefick_at_gmail.com>
Date: Fri, 09 May 2008 14:24:16 -0400

#try this
plot(survival)
lines(suvival)

On Fri, May 9, 2008 at 2:14 PM, Zhandong Liu <zhandong_at_mail.med.upenn.edu> wrote:

> Dear helpers,
> I am trying to plot two survival curves in the same figure.
>
> plot(survival)
> // in matlab, one just need to call "hold on"
> plot(survival2)
>
>
> I am wondering how to do it in R. Thank you very much!
>
> --
> Zhandong Liu
>
> Genomics and Computational Biology
> University of Pennsylvania
>
> 616 BRB II/III, 421 Curie Boulevard
> University of Pennsylvania School of Medicine
> Philadelphia, PA 19104-6160
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org 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.
>

-- 
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_r-project.org 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.
Received on Fri 09 May 2008 - 18:27:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 09 May 2008 - 18:30:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive