[R] NLS "Singular Gradient" Error

Ben Bolker bolker at ufl.edu
Wed Apr 28 23:50:05 CEST 2010


bsnrh <bsnrh <at> leeds.ac.uk> writes:

> 
> 
> Hi Ben,
> 
> Your book refers to the mle function in the emdbookx package. I was
> wondering if it's possible to find that package on the internet?
> 
> Many thanks,
> Neal

  If the (draft) PDF says that, it's an error.
  See the mle2 function in the bbmle package (which is available
from CRAN).  The lambertW function is in the emdbook package,
which is also available in CRAN.

  install.packages(c("bbmle","emdbook"))
  library(bbmle)
  library(emdbook)
  ?mle2
  ?lambertW

  (You can address further questions to me off-list ...)



More information about the R-help mailing list