它似乎没有记录的工作......任何想法?
x <- data.frame(date=as.Date(c("2015-12-01", "2015-12-03", "2015-12-15", "2015-12-28")), N=c(1,3,2,4))
ggplot(x, aes(date, N)) + geom_bar(stat="identity") + scale_x_date(date_breaks="1 day")
Error in continuous_scale(aesthetics, "date", identity, breaks = breaks, :
unused argument (date_breaks = "1 day")
答案 0 :(得分:3)