search for: 278092l

Displaying 1 result from an estimated 1 matches for "278092l".

2013 Mar 22
4
ggplot2 will not draw a rectangle. Error: ggplot2 doesn't know how to deal with data of class XXX"
...6000, 1238472000, 1270008000, 1301544000, 1333166400), class = c("POSIXct", "POSIXt"), tzone = ""), federal.ps = c(211925L, 223933L, 237251L, 242737L, 244158L, 243971L, 249932L, 254622L, 263114L, 274370L, 282955L, 282352L, 278092L)), .Names = c("year", "federal.ps"), class = "data.frame", row.names = c(NA, -13L)) p <- ggplot(fcs, aes(year, federal.ps )) + geom_line() p + geom_rect(data=rect, aes(xmin=xmin, xmax = xmax, ymin=-Inf, ymax = Inf), fi...