I am very new to R and I am trying to create a barplot with my infiltration on the y axis and burn on the x axis comparing the grazing treatment (example of the data set is below)
Infiltration Grazing Burn
3301.145496 G S
8165.771889 U S
9937.833576 G L
11576.5892 U L
32739.07643 G N
25923.84328 U N
25942.3 G C
So far I have produced the code so that it reads the table
#reads the basic data in
ana<-read.table("D:\\Dave.txt",head=T)
attach(ana)
head(ana)
dim(ana)
However I do not understand how to write the code to produce a barplot.
I have attached an image of how I produced the graph on excel excel graph
Also I do not have the ggplot, how do I format it as "barplot(....."
