Re: [R] ggplot2 - two or more axis

2008-11-17 Thread ONKELINX, Thierry
-Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens David Hajage Verzonden: zaterdag 15 november 2008 14:03 Aan: hadley wickham CC: R Help Onderwerp: Re: [R] ggplot2 - two or more axis Thank you very much for the answer. I have seen very often the number of subject at

Re: [R] ggplot2 - two or more axis

2008-11-15 Thread David Hajage
Thank you very much for the answer. I have seen very often the number of subject at risk on survival graph (see my pdf file). It is very easy to plot the curve with geom_step(), but is there a better way to show the number of subjects at risk at each time ? Thank you for your advice. 2008/11/14

Re: [R] ggplot2 - two or more axis

2008-11-14 Thread hadley wickham
Hi David, > I'm trying to learn how to make a plot with the amazing package ggplot2. > > I was wondering if it was possible to draw 2 (or more) x (or y) axis in the > same graph. For example : > - I want to show two informations at each x coordinate : a survival curve, > I want to show the time (

[R] ggplot2 - two or more axis

2008-11-14 Thread David Hajage
Hello R users, I'm trying to learn how to make a plot with the amazing package ggplot2. I was wondering if it was possible to draw 2 (or more) x (or y) axis in the same graph. For example : - I want to show two informations at each x coordinate : a survival curve, I want to show the time (0, 12