Skip to content

Adding mean and SEM in Hmisc ecdf

2 messages · Jean-Louis Abitbol, Frank E Harrell Jr

#
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
#
Jean-Louis Abitbol wrote:
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.