Re: [R] Using the legend function inside a bar chart error.bars function

2008-10-26 Thread Jim Lemon
Sarah Vandome wrote: Hello, I am just starting out using R on my Uni course. I have been given a function to work with that adds error bars to a bar chart. I want to add a legend and have been trying to amend the code in the function error.bars (see below) so it automatically places a legend

[R] Using the legend function inside a bar chart error.bars function

2008-10-26 Thread Sarah Vandome
Hello, I am just starting out using R on my Uni course. I have been given a function to work with that adds error bars to a bar chart. I want to add a legend and have been trying to amend the code in the function error.bars (see below) so it automatically places a legend on the chart. It does t