I would like to produce the attached graph

with the R package agricolae, could someone give me an example with the attached data?

I expect an adapted graph with the data

I would like to produce the attached graph

with the R package agricolae, could someone give me an example with the attached data?

I expect an adapted graph with the data

I think you will need to change to a long data format
Once you calculate, can use geom_errorbar() to add the bars.