Sorry...
My bad cut and paste: there were a couple of lines missing in the
code.
>pm10 <- read.csv("data.csv")
>h <- hist(pm10$x, breaks=100, plot=FALSE)
>h <- hist(pm10, breaks=100, plot=FALSE)
>h$counts <- rev(h$counts)
>h$counts <- cumsum(h$counts)
>h$counts <- rev(h$counts)
>m <- qplot( h.mids,h.counts, data = yframe, geom="line", xlab="Concentration",
> ylab = "Number of Periods where Concentration is > C",
> main = "Cumulative Frequency Distribution")
>m <- m + geom_vline(xintercept=c(50,70))
>m <- m + geom_hline(colour="darkblue", yintercept=c(5,10))
>m <- m + ylim(2,365)
>m <- m + coord_trans(y ="log10")
>m