Displaying 2 results from an estimated 2 matches for "data_corr".
Did you mean:
data_conn
2009 May 27
5
r-plot
Dear R-community
I have a grueling problem which appears to be impossible to solve:
I want to make a simple plot, here is my code: http://gist.github.com/118550
Unfortunately, the annotation of both the x- and y-axis are not correct, as
you can see in the following picture:
http://www.nabble.com/file/p23739356/plot.png
I am not an expert of R, so maybe someone can point me to the solution of
2009 Jun 01
1
installing sn package
...t;, yaxs = "i", tcl = 0.35)
plot(x, y, ylim = c(0,11), axes = FALSE)
axis(2, at = 0:11)
axis(1)
box()
par(op)
Finally, as you have your data in a DF, you could make use of this
instead of relying on getting the ordering correct, and also simplify
your lm call:
plot(Calgary ~ Win, data = data_corr, ....)
and
abline(lm(Calgary ~ Win, data = data_corr, ....))
would be a better way to make use of the formula interface, and be
explicit in the plot about which variable is on the x and which is on
the y axis.
HTH
G
>
[[elided Yahoo spam]]
>
> Best,
> Durden
--
%~%~%~%~%~%~%~%~...