Re: [R] plot two columns against one

2013-12-14 Thread Duncan Mackay
versity of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of arun Sent: Sunday, 15 December 2013 04:30 To: R help Subject: Re: [R] plot two columns against one Hi

Re: [R] plot two columns against one

2013-12-14 Thread arun
f text i want to add points, what change in code should occur? eliza > Date: Sat, 14 Dec 2013 07:48:52 -0800 > From: smartpink...@yahoo.com > Subject: Re: [R] plot two columns against one > To: r-help@r-project.org > CC: eliza_bo...@hotmail.com > > HI, > > Using ?ggplo

Re: [R] plot two columns against one

2013-12-14 Thread eliza botto
Dear Arun and david,Thanks for your reply. If instead of text i want to add points, what change in code should occur? eliza > Date: Sat, 14 Dec 2013 07:48:52 -0800 > From: smartpink...@yahoo.com > Subject: Re: [R] plot two columns against one > To: r-help@r-project.org &g

Re: [R] plot two columns against one

2013-12-14 Thread arun
HI, Using ?ggplot() s <-read.table(text="A  B    C 0.451  0.333  1134 0.491  0.270  1433 0.389  0.249  7784 0.425  0.819  6677 0.457  0.429  99053 0.436  0.524  111049 0.423  0.270  121093 0.463  0.315  131019",sep="",header=TRUE) library(ggplot2) ggplot(s,aes(x=A

Re: [R] plot two columns against one

2013-12-14 Thread David Carlson
Please do not send emails using html. Please use dput() to send your data to the list > st <- read.table(text=s, header=TRUE) > plot(B~A, st, type="n") > with(st, text(A, B, C)) - David L Carlson Department of Anthropology Texas A&M University College Station,