[R] Fraction ECDF

livia yn19832 at msn.com
Tue Jul 10 16:36:35 CEST 2007


Hi all,

I would like to plot part of the emperical CDF. Suppose the variable is x, I
just need the part when x>1,therefore, I am using the following codes. 

tail <- x>1
plot(ecdf(x[tail]), do.points=FALSE, verticals=TRUE)

The "x" value starts from 1, but the yaxs still begins from 0, not the
corresponding value when "x" is 1. How can I make it match?

Could anyone give me some advice? Many thanks.
-- 
View this message in context: http://www.nabble.com/Fraction-ECDF-tf4056229.html#a11522204
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list