[R] Help with Ecdf function

David Winsemius dwinsemius at comcast.net
Tue Aug 4 01:09:05 CEST 2009

On Aug 3, 2009, at 4:19 PM, Mateus Teixeira wrote:

> Dear R users,
> I'm using Ecdf (Hmisc library) to plot four cdf in a same graphic.  
> In this
> graphic I also plot the 0.99 quantile for these cdf.

How did you do this? Experimenting with the example on hte Ecdf help  
page it appears that adding lines with abline works fairly well,  
despite this being a mixture of lattice and base graphics.

> I successfully plot
> cdfs using different types of line to distinguish them, but I can't
> determine the type of lines showing 0.99 quantile.
> Is there a way to assign different line types for quantile lines in  
> Ecdf
> plot?

What do you mean by "quantile lines"?

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

More information about the R-help mailing list