[R] Scatterplot question

2004-12-09 Thread judith . baltsar
Dear list members, I have a probably simple question concerning scatterplots: I want to draw a plot with one X but several Y columns, so that every group of samples gets a different symbol. My table looks like this: X Y1 Y2 Y3 1 1 2 3 3 5 4 7 5

[R] Scatterplot question

2004-12-09 Thread Vito Ricci
Hi, you can see: ?matplot Best Vito you wrote: Dear list members, I have a probably simple question concerning scatterplots: I want to draw a plot with one X but several Y columns, so that every group of samples gets a different symbol. My table looks like this: X Y1 Y2 Y3

RE: [R] Scatterplot question

2004-12-09 Thread Liaw, Andy
I assume the blanks are actually NAs? If so, try something like (say `df' is the data frame): matplot(df$X, df[,-1], pch=1:3) or refer to the help page for matplot() for more options. Andy From: [EMAIL PROTECTED] Dear list members, I have a probably simple question concerning

RE: [R] Scatterplot question

2004-12-09 Thread Andy Bunn
: [R] Scatterplot question Dear list members, I have a probably simple question concerning scatterplots: I want to draw a plot with one X but several Y columns, so that every group of samples gets a different symbol. My table looks like this: X Y1 Y2 Y3 1 1 2 3 3

Re: [R] Scatterplot question

2004-12-09 Thread Gabor Grothendieck
judith.baltsar at gmx.de writes: : : Dear list members, : I have a probably simple question concerning scatterplots: I want to : draw a plot with one X but several Y columns, so that every group : of samples gets a different symbol. My table looks like this: : : X Y1 Y2 Y3 : 1