dput(double) structure(list(report = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 6L, 6L, 6L, 6L), .Label = c("a", "b", "c", "d", "e", "f"), class = "factor"), type = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("typeA", "typeB"), class = "factor"), month = structure(c(15248, 15279, 15309, 15340, 15248, 15279, 15309, 15340, 15248, 15279, 15309, 15340, 15248, 15279, 15309, 15340, 15248, 15279, 15309, 15340, 15248, 15279, 15309, 15340), class = "Date"), rolling_rate = c(10.4, 10.1, 9.8, 9.6, 29, 26.8, 26.3, 25.3, 39.8, 38.1, 37.6, 36, 7.9, 7.2, 6.6, 6.6, 7.7, 7.2, 7.1, 7.3, 12.1, 11.3, 11.2, 11.3)), .Names = c("report", "type", "month", "rolling_rate" ), row.names = c(NA, -24L), class = "data.frame")dput(blast_ps) structure(list(report = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L), .Label = c("a", "b", "c", "d", "e", "f"), class = "factor"), type = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = c("typeA", "typeB"), class = "factor"), month = structure(c(15248, 15279, 15309, 15340, 15248, 15279, 15309, 15340, 15248, 15279, 15309, 15340), class = "Date"), rolling_rate = c(10.4, 10.1, 9.8, 9.6, 29, 26.8, 26.3, 25.3, 39.8, 38.1, 37.6, 36)), .Names = c("report", "type", "month", "rolling_rate"), row.names = c(NA, 12L), class = "data.frame")
blast_ps$type <- droplevels(blast_ps$type)
blast_ps$report <- droplevels(blast_ps$report)
you can also use ?str to examine structures which can be incredibly useful.
From there you should be able to plot like you wanted.
Hope that helps,
Justin
2012/3/7 Henry Drexler <alon...@gmail.com>:
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2