[R] error bars on barplot

2010-04-09 Thread Samantha Reynolds
Hi I was hoping someone might be able to help me I have this data: birdid timetaken numvisits ptachchoice time bold 1087 810 1 AM0 108728 6 1 PM0 108713 3 2 AM0 1087 121 0

[R] Creating two lines of best fit on a scatter plot

2010-04-07 Thread Samantha Reynolds
Hello I am trying to plot two lines of best fit on a scatter plot. I'm plotting number of visits (y) against personality (x), half the plots are blue for patchchoice one and the other plots are red for patchchoice two (these options come from one factor, see below) . So i need a line for

[R] Creating two lines of best fit on a scatter plot

2010-04-07 Thread Samantha Reynolds
Hello I am trying to plot two lines of best fit on a scatter plot. I'm plotting number of visits (y) against personality (x), half the plots are blue for patchchoice one and the other plots are red for patchchoice two (these options come from one factor, see below) . So i need a line for