Dear all,

I hope someone can help with my problem:

I have a dataframe like this:

datframe <- data.frame(Name=c("Kati","Kati","Kati","Leon","Leon","Leon" ), week =c("1","2", "3", "1","2", "3"), numberdata =c("5","12", "1", "6","2", "5"))
datframe

I want to create a graph like the attached one (jpg). I can't bring the bars to line up by week... desperating.

(in case you don't see the jpg: I want a horizontal bar which reflects the number of data per week by the colour of the shading).

Can anyone help?

Tagmarie




______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to