[R] graph: horizontal bar reflecting number of data
Dagmar
Ramgad82 at gmx.net
Wed Jul 13 09:59:33 CEST 2016
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
More information about the R-help
mailing list