Skip to content
Prev 4846 / 15075 Next

curve does not work well??

hi,

I use the example code from a R book ,

 > x = rnorm( 100 )
 > hist( x, probability = TRUE, col = gray(.9), main="normal mu = 0 ,  
sigma = 1") #this works well


 > curve( dnorm(x),add =T) # but this does not work and it gives a  
warning .


I am using Leopard and does anybody has ever met the problem?

--------------------------
Peng Jiang
??
Ph.D. Candidate

Antai College of Economics & Management
????????
Department of Mathematics
???
Shanghai Jiaotong University (Minhang Campus)
800 Dongchuan Road
200240 Shanghai
P. R. China