Re: [R] Multiple hist(ograms) - One plot

2008-10-07 Thread Michael Just
ata. > ~ John Tukey > > > -- > *Van:* Michael Just [mailto:[EMAIL PROTECTED] > *Verzonden:* vrijdag 3 oktober 2008 6:52 > *Aan:* ONKELINX, Thierry > *CC:* r-help@r-project.org; [EMAIL PROTECTED] > > *Onderwerp:* Re: [R] Multiple hist(ograms) -

Re: [R] Multiple hist(ograms) - One plot

2008-10-07 Thread Michael Just
ram() + facet_grid(. > ~ > > > >> recov) > > > >> ggplot(data = all, aes(x = bbED)) + geom_histogram() + > > > facet_grid(recov > > > >> ~ .) > > > >> ggplot(data = all, aes(x = bbED, colour = recov)) + geom_density()

Re: [R] Multiple hist(ograms) - One plot

2008-10-03 Thread ONKELINX, Thierry
ohn Tukey Van: Michael Just [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 3 oktober 2008 6:52 Aan: ONKELINX, Thierry CC: r-help@r-project.org; [EMAIL PROTECTED] Onderwerp: Re: [R] Multiple hist(ograms) - One plot Dieter and Thierry: Per you suggestions I have tried: ggp

Re: [R] Multiple hist(ograms) - One plot

2008-10-02 Thread Deepayan Sarkar
experiment died of. > > ~ Sir Ronald Aylmer Fisher > > > > The plural of anecdote is not data. > > ~ Roger Brinner > > > > The combination of some data and an aching desire for an answer does not > > ensure that a reasonable answer can be extracted from

Re: [R] Multiple hist(ograms) - One plot

2008-10-02 Thread Michael Just
an answer does not > ensure that a reasonable answer can be extracted from a given body of > data. > ~ John Tukey > > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Namens Michael Just > Verzonden: donderdag 2 oktober 2008 10:59 > Aan: r-he

Re: [R] Multiple hist(ograms) - One plot

2008-10-02 Thread ONKELINX, Thierry
-Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Michael Just Verzonden: donderdag 2 oktober 2008 10:59 Aan: r-help@r-project.org CC: [EMAIL PROTECTED] Onderwerp: Re: [R] Multiple hist(ograms) - One plot Dieter Menne: Thanks for the suggestion and link, it looks good

Re: [R] Multiple hist(ograms) - One plot

2008-10-02 Thread Dieter Menne
Michael Just gmail.com> writes: > > sc_recov.21 <- dat[dat$sc_recov=21,] Be careful: it should be "==", not "=" when want a comparison. df = data.frame(grp = letters[1:5],val=rnorm(100)) dfab = df[df$grp=="a" | df$grp=="b",] # The simple way with "or" dfcde = df[df$grp %in% c("c","d","e"),] #

Re: [R] Multiple hist(ograms) - One plot

2008-10-02 Thread Michael Just
Fisher >> >> The plural of anecdote is not data. >> ~ Roger Brinner >> >> The combination of some data and an aching desire for an answer does not >> ensure that a reasonable answer can be extracted from a given body of >> data. >> ~ John Tukey >>

Re: [R] Multiple hist(ograms) - One plot

2008-10-02 Thread Michael Just
e answer can be extracted from a given body of > data. > ~ John Tukey > > -----Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Namens Michael Just > Verzonden: donderdag 2 oktober 2008 7:29 > Aan: r-help@r-project.org > Onderwerp: [R] Multipl

Re: [R] Multiple hist(ograms) - One plot

2008-10-02 Thread ONKELINX, Thierry
roject.org Onderwerp: [R] Multiple hist(ograms) - One plot Hello, I am trying to plot multiple histograms with the same scales, etc into one plot. The commands below produce a 3 page PDF with each histogram occupying the upper right quadrant. And use slightly different scales on the X and Y axes. > s

Re: [R] Multiple hist(ograms) - One plot

2008-10-01 Thread Dieter Menne
Michael Just gmail.com> writes: > I am trying to plot multiple histograms with the same scales, etc into one > plot. The commands below produce a 3 page PDF with each histogram occupying > the upper right quadrant. And use slightly different scales on the X and Y > axes. I suggest that you forge

[R] Multiple hist(ograms) - One plot

2008-10-01 Thread Michael Just
Hello, I am trying to plot multiple histograms with the same scales, etc into one plot. The commands below produce a 3 page PDF with each histogram occupying the upper right quadrant. And use slightly different scales on the X and Y axes. > s21 <- dat[dat$sc_recov=="21",] > s21.ED <- subset(s21, s