I have the following call to ecdfplot in the latticeExtra package:
ecdfplot(~ saved_multtest + saved_unadjusted + saved_bonferroni +
saved_hochberg + saved_independent,
data=saved, auto.key=list(corner=c(0.8,0.2)),
main="Null case", xlab="p-value",
ylab="Empirical F(p-value)")
I would like to add a diagonal reference line, that is, a straight line from (0,0) to (1,1). I have searched the documentation for quite a while without finding out how to do this, perhaps because I am new at R. I would be grateful if someone could tell me how.