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
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
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
: [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
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