Hi
I'm kind of new in R, so i'm sorry if it is to basically a question.
I am trying to do a stacked bar chart and feel kind of lost in it.
I have 260 persons in four different groups each person with a variable, "mm". The groups are in the data defined by the same column, "tid" by a number (1-4).
Example:
I want to do the stacked bar chart by grouping each group (1-4) into "skinny", "normal" and "big". Furthermore each group has different definitions of skinny, normal and big:
Group 1: Skinny = mm < 14, normal = mm = 14-16 & big = mm > 16.
Group 2: Skinny = mm < 16, normal = mm = 16-19 & big = mm > 19.
Group 3: Skinny = mm < 15, normal = mm = 15-18 & big = mm > 18.
Group 4: Skinny = mm < 13, normal = mm = 13-16 & big = mm > 16.
It that even possible?
Thank you very much.
Best Regards Kasper