Skip to content
Prev 132193 / 398506 Next

improving a bar graph

On 12/16/07, Bob Green <bgreen at dyson.brisnet.org.au> wrote:
Why not use a line plot?  It would be much easier to see how an
individual is changing over time.  Here's a simple way to do that
using ggplot2:

df  <- data.frame(Time1, Time2, Time3)
df$id <- 1:nrow(df)
dfm <- melt(df, id="id")

qplot(variable, value, data=dfm, group=id, geom="line")

Hadley