s-news
[Top] [All Lists]

Continuous curve over barplot, corrected

To: <s-news@lists.biostat.wustl.edu>
Subject: Continuous curve over barplot, corrected
From: "David Parkhurst" <parkhurs@ariel.ucs.indiana.edu>
Date: Tue, 26 Oct 2004 21:05:38 -0500
Duh.  A few minutes ago, I sent the wrong code, and what I sent does work.  Thanks to those who told me so!
 
What I WANT to do (using Professional Edition Version 6.2.1  for Microsoft Windows : 2003) is to plot  these dbinom values:
 
x<-60:100
y<-dbinom(x,100,0.7)
as a barplot, and then to overlay the normal densities below as a continuous curve.  Any suggestions?
 
yy<-dnorm(x,70,sqrt(21))
Thanks.
 
Dave Parkhurst
<Prev in Thread] Current Thread [Next in Thread>