[R] density plot not smooth

Fix Ace acefix at rocketmail.com
Tue Mar 17 20:06:16 CET 2015



 I have a dataset with 6187 elements, ranged from 3 to 104028. When I tried to examine only small range of data, I found that the plot was not smooth (as shown below):
plot(density(test$V2), xlim=c(0,1000))


 Is there away to make it smoother?
Thanks a lot!!

 


 



  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datauri-file.png
Type: image/png
Size: 26793 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20150317/d2c4d84b/attachment.png>


More information about the R-help mailing list