Re: [R] Cumulative Density Plots (Hmisc/lattice)

From: Frank E Harrell Jr <f.harrell_at_vanderbilt.edu>
Date: Wed 18 Jan 2006 - 08:57:40 EST

Mike Bock wrote:
> I have been using the ECDF function in the Hmisc package to produce
> cumulative distribution function plots. The problem is that for small
> datasets the steps "look bad" (not my characterization but from the
> client). Is there a way to get the same information but smoothed? I have
> tried the densityplot (lattice), which gives a smoothed line, but this
> does not give the cumulative density.
>
> Michael Bock, PhD
> ENVIRON International Corporation
> 136 Commercial Street, Suite 402
> Portland, ME 04101
> phone: 207.347.4413
> fax: 207.347.4384

That will invalidate the definition of ECDF. I've never had a client complain about it before.

FH

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Jan 18 09:05:16 2006

This archive was generated by hypermail 2.1.8 : Wed 18 Jan 2006 - 14:09:14 EST