Re: [R] ggplot adding points

2008-10-10 Thread hadley wickham
On Fri, Oct 10, 2008 at 9:18 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > I would like to do the following in ggplot: > what am I missing? > > River.Mile <-c(202, 198, 190, 185, 179, 148, 119, 61) > TSS <- c(1:8) > DOC <- seq(2, by= 0.6, length.out=8) > z <- data.frame(River.Mile, TSS, DOC) > xy

Re: [R] ggplot adding points

2008-10-10 Thread ONKELINX, Thierry
er 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 stephen sefick Verzonden: vrijdag 10 oktober 2008 16:18 Aan: R Help Onderwerp: [R] ggplot adding points I would li

[R] ggplot adding points

2008-10-10 Thread stephen sefick
I would like to do the following in ggplot: what am I missing? River.Mile <-c(202, 198, 190, 185, 179, 148, 119, 61) TSS <- c(1:8) DOC <- seq(2, by= 0.6, length.out=8) z <- data.frame(River.Mile, TSS, DOC) xyplot(TSS+DOC~River.Mile, data=z, auto.key=TRUE) thanks -- Stephen Sefick Research Scient