Re: [R] How to plott bar graphics

2015-10-26 Thread John Kane
e Kingston ON Canada > -Original Message- > From: drjimle...@gmail.com > Sent: Mon, 26 Oct 2015 11:32:35 +1100 > To: > Subject: Re: [R] How to plott bar graphics > > Hi Ujjwal, > Given that you have asked about a barplot and included standard errors, > you > probably want so

Re: [R] How to plott bar graphics

2015-10-26 Thread Jim Lemon
Hi Ujjwal, Given that you have asked about a barplot and included standard errors, you probably want something like the following: uk.df<-read.table(text= "habitat,proportion_use,proportion_use_SE,selectivity_index,selectivity_index_SE grassland,0.56,0.22,0.72,0.29 sal_forest,0.11,0.04,-0.43,0

Re: [R] How to plott bar graphics

2015-10-26 Thread Jim Lemon
No worries. Just use: abline(h=0) Jim On Mon, Oct 26, 2015 at 6:32 PM, Ujjwal Kumar wrote: > Thank you Jim for your Kind help > The second code suits my need. > Just another query If I need to put another line (horizontal, same as x- > axis that passes through zero (0.0), and actually divide n

Re: [R] How to plott bar graphics

2015-10-25 Thread Michael Dewey
Dear Ujjwal Two problems 1 - you posted in HTML so your post is unreadable 2 - your attached graphic was not in one of the formats which R-help accepts and so was stripped On 25/10/2015 11:04, Ujjwal Kumar wrote: HI friends I am struggling in plotting bar graph with this data sets in R. altho

[R] How to plott bar graphics

2015-10-25 Thread Ujjwal Kumar
HI friends I am struggling in plotting bar graph with this data sets in R. although I can plot it in Microsoft excel( attached graphics). I need help in coding it for R.(SE=standar error) > >data > habitat > proportion_use > proportion_use_SE > selectivity_index > selectivity_index_SE > grassland >