You desperately need to read the Posting Guide mentioned at the bottom of every
posting on this list. Avoid attachments (your code did not come through), keep
sample data size minimal, don't reply to other topic messages (start a fresh
email thread so your message doesn't get buried in other people's
mailboxes.). Ideally you will provide sample data as part of your sample code
using dput, but you may be having difficulty reading the data into memory in the
first place so you might not be ready for that. Also [1] would probably be
helpful to you.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
--
Sent from my phone. Please excuse my brevity.
On September 19, 2016 5:15:38 AM PDT, najad zamirah zaki via R-help <r-help
at r-project.org> wrote:>Hi,
>I'm Najad, a student at the University of Glasgow. I really need help
>with a script of mine to plot density plot for my data. I kept on
>having an error saying?need at least 2 points to select a bandwidth
>automaticallyI've tried to replace the NaN in my data to zero but still
>the same. I'm not good with R and don't understand the coding
language
>so I need help on this. I've attached here the data and the script that
>I use. I use R version 3.1.1
>Thank you?Warm regards,Najad Zaki
>
>
>
>------------------------------------------------------------------------
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.