Ben Bolker wrote: > > > Here's some tweaked code that works. > [cut] >
Thanks, that saved me a few headaches. I also find out the answer to my (dumb) question #5, which is obviously to call f with the returned parameters or use the logLik function. I will have a look at the mixture model problem, as you suggested. Looking at my data I don't think I really need more than bimodal distributions anyway, yet I was going to have a go at it mostly out of curiosity. Well, thank you very much again for your help! It was really appreciated. Nico -- View this message in context: http://www.nabble.com/MLE-for-bimodal-distribution-tp22954970p22958318.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.