I am trying to create a bar chart from a data-frame that will show the mean of my four categories (one bar for each), with the standard error shown as error lines at the top of each bar.
The data is composed of four measurements each for twenty trees, with the twenty trees in the table having it's own row and four columns for the four measurements for each tree (hope this is clear).
I currently have the data in R, and can see the means for my four categories with the summary command, but do not where to go on from here.
Below is the head
of my data-frame, hope this helps.
Tree Avg_number_1m Avg_number_2m Avg_number_3m Avg_number_4m
1 Tree_1 15.2 15.0 15.2 12.0
2 Tree_2 16.2 15.4 14.2 15.4
3 Tree_3 14.4 9.2 3.2 1.6
4 Tree_4 14.6 5.6 10.4 9.2
5 Tree_5 15.2 13.0 7.4 3.0