[Rd] bug from nlm function (PR#9711)

Ben Bolker bolker at zoo.ufl.edu
Tue May 29 14:32:27 CEST 2007


 <bla <at> udec.cl> writes:

> 
> Full_Name: bernardo moises lagos alvarez
> Version: 2.4.0 
> OS:  Windows XP professional
> Submission from: (NULL) (152.74.219.16)
> 
> > nlm(fllwfuncHnew,p=c(1,20),x=xdat)
> 
> Erro en log(b) : el argumento "b" está ausente, sin default
> 
> ______________________________________________
> R-devel <at> r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

  This is not a bug.  fllwfuncHnew's first argument
should be a VECTOR with elements a and b (rather than
passing a and b as separate arguments.  From ?nlm:

     f: the function to be minimized.  [...]
          This should be a function of a vector of the
          length of 'p' followed by any other arguments specified by
          the '...' argument.

   Please try a little harder to make sure that
a bug is a bug before reporting it as such ...



More information about the R-devel mailing list