Skip to content
Back to formatted view

Raw Message

Message-ID: <4199FC7D.3090401@vanderbilt.edu>
Date: 2004-11-16T13:11:25Z
From: Frank E Harrell Jr
Subject: Adding mean and SEM in Hmisc ecdf
In-Reply-To: <1100595328.25310.208760971@webmail.messagingengine.com>

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