[R] Adding mean and SEM in Hmisc ecdf

2004-11-16 Thread Jean-Louis Abitbol
Dear R Gurus,

Sorry if this has been asked before but I did not find it in the
archives.

I would like to add a horizontal display of mean and SEM on Hmisc ecdf
plots done by group (ie variate~treatment).

Has anyone written some code to do that ?

Thanks and kind regards,

Jean-Louis

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Adding mean and SEM in Hmisc ecdf

2004-11-16 Thread Frank E Harrell Jr
Jean-Louis Abitbol wrote:
Dear R Gurus,
Sorry if this has been asked before but I did not find it in the
archives.
I would like to add a horizontal display of mean and SEM on Hmisc ecdf
plots done by group (ie variate~treatment).
Has anyone written some code to do that ?
Thanks and kind regards,
Jean-Louis
It is customary to show quantiles on ecdfs, and the functions make that 
easy.  You can add other points or reference lines to an existing plot 
easily if using the non-lattice ecdf.  To do it with the lattice version 
ecdf.formula you will have to change its default panel function.

--
Frank E Harrell Jr   Professor and Chair   School of Medicine
 Department of Biostatistics   Vanderbilt University
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html