Hello,

i am just getting into R and am having a hard time getting started. Currently I am trying to get my Data into a specific graph but i don't really know how to do it.

This is an Example Table similar to that in R just much smaller:

What I want is:

- A graph that shows me the average of Cat B
- A graph that shows me the average of Cat B but only from "A" in Cat A
- A graph that shows me the average of Cat B but only from "B" in Cat A

I have tried working with plots and barplots in all kind of forms and the summary function. But to be honest I have no idea what i am doing and I am getting some usefull graphs but not the ones i want. I can't seem to get an average. How does that work?

really hoping somebody can help a newcomer out

Thanks.