Dear support, I want to compute the highest probability density for any data. please do you have any code to help me in this subject. I am looking forward to hearing from you as soon as possible. rahim [[alternative HTML version deleted]]
?density ?max Rahim Alhamzawi <rahimalhamzawi@yahoo.co.uk> Sent by: r-help-bounces@r-project.org 12/09/2009 05:23 AM To R-help@stat.math.ethz.ch cc Subject [R] code Dear support, I want to compute the highest probability density for any data. please do you have any code to help me in this subject. I am looking forward to hearing from you as soon as possible. rahim [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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. [[alternative HTML version deleted]]
There is an hpd function in the TeachingDemos package that may do what you want. There are other hpd related functions in other packages as well. Which will work best for you depends on details that you did not provide. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Rahim Alhamzawi > Sent: Wednesday, December 09, 2009 3:24 AM > To: R-help at stat.math.ethz.ch > Subject: [R] code > > Dear support, > I want to?compute the highest?probability density for any data. please > do you have any code to help me in this subject. > I am looking forward to hearing from you as soon as possible. > > rahim > > > > [[alternative HTML version deleted]]