Hello all,
I just noticed the following behavior of plot:
x - c(1,2,9)
plot(x ~ x) # this is just like doing:
plot(x)
# when maybe we would like it to give this:
plot(x ~ c(x))
# the same as:
plot(x ~ I(x))
I was wondering if there is some reason for this behavior.
Thanks,
Tal
On Nov 6, 2013, at 10:40 AM, Tal Galili tal.gal...@gmail.com wrote:
Hello all,
I just noticed the following behavior of plot:
x - c(1,2,9)
plot(x ~ x) # this is just like doing:
plot(x)
# when maybe we would like it to give this:
plot(x ~ c(x))
# the same as:
plot(x ~ I(x))
I was
-help@r-project.org
Subject: [R] Basic question: why does a scatter plot of a variable against
itself works like
this?
Hello all,
I just noticed the following behavior of plot:
x - c(1,2,9)
plot(x ~ x) # this is just like doing:
plot(x)
# when maybe we would like it to give this:
plot(x
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf
Of Tal Galili
Sent: Wednesday, November 06, 2013 8:40 AM
To: r-help@r-project.org
Subject: [R] Basic question: why does a scatter plot of a variable against
itself works like
this?
Hello
4 matches
Mail list logo