Using the print.level=2 argument to nlm can help track this down. Also, set options(warn=1) before calling nlm so warnings get printed as soon as they are generated.
Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Mar 28, 2016 at 3:32 PM, Rolf Turner <r.tur...@auckland.ac.nz> wrote: > On 29/03/16 09:19, heba eldeeb via R-help wrote: > >> Dear All >> I'm trying to find the maximum likelihood estimator of a certain >> distribution using nlm command but I receive an error as: >> non-finite value supplied by 'nlm' can't figure out what is wrong in >> my function Any help? Thank you in advance. >> > > Sorry, the mind_read() function in R has not yet been written. > > cheers, > > Rolf Turner > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > > ______________________________________________ > R-help@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. > [[alternative HTML version deleted]] ______________________________________________ R-help@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.