require(ggplot2)
require(lubridate)
tasks<-structure(list(SMC.PI = c(8893L, 8893L, 8893L, 8893L, 8893L, 8893L, 8893L, 8893L, 8893L, 8893L), SubProject = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = "Ripening Physiology", class = "factor"), SubSubProject = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = "Fruit Color", class = "factor"), Workstream.ID = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L), .Label = c("1.2.1.04", "1.2.1.06"), class = "factor"), Workstream.Name = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L), .Label = c("Pepper", "Tomato"), class = "factor"), Process = structure(c(8L, 3L, 5L, 6L, 1L, 7L, 4L, 5L, 2L, 8L), .Label = c("Analytical", "Candidate Gene", "Cultivation", "Data Analysis", "QTL Analysis", "Sampling", "Sequencing", "Total"), class = "factor"), Owner = structure(c(4L, 6L, 3L, 2L, 5L, 1L, 4L, 3L, 4L, 4L), .Label = c("?", "BA", "GPL", "Hurr", "Kende", "Nicolet"), class = "factor"), Location = structure(c(2L, 3L, 1L, 3L, 2L, 4L, 2L, 1L, 2L, 2L), .Label = c("FRSS", "GBJH", "MAAG", "USRE"), class = "factor"), Cost = c(NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), DurationMonths = c(36L, 9L, 1L, 1L, 3L, 2L, 1L, 1L, 1L, 36L), Start = structure(c(1293840000, 1351728000, 1359676800, 1367366400, 1370044800, 1370044800, 1377993600, 1380585600, 1383264000, 1317427200), tzone = "UTC", class = c("POSIXct", "POSIXt")), End = structure(c(1388534400, 1375315200, 1362096000, 1370044800, 1377993600, 1375315200, 1380585600, 1383264000, 1385856000, 1412121600), tzone = "UTC", class = c("POSIXct", "POSIXt")), ymin = c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 1L)), .Names = c("SMC.PI", "SubProject", "SubSubProject", "Workstream.ID", "Workstream.Name", "Process", "Owner", "Location", "Cost", "DurationMonths", "Start", "End", "ymin"), row.names = c(NA, -10L), class = "data.frame")today<-parse_date_time(Sys.Date(), orders="Y-m-d")
ggplot(tasks, aes(xmin = Start
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2