[R-SIG-Mac] curve does not work well??
Peng Jiang
jp021 at sjtu.edu.cn
Mon Jun 16 12:07:38 CEST 2008
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
More information about the R-SIG-Mac
mailing list