On May 3, 2010, at 12:28 PM, SamT wrote:


Hi,

I have plotted a cdf using the ecdf function with plot().

Code would make this concrete.

 I want to
highlight/identify points on the same plot. Also, because this is a cdf I am not sure of the y coords for the point, otherwise I thought of using
highlight in the NCStats package.

The y coordinate is just ecdf(object)(x.value)

... since ecdf returns a function, you get to use it as a function. Really
a beautiful tool. Thank you Martin Maechler.


Thanks
--
--

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to