From bolker at zoo.ufl.edu  Tue May 29 14:32:27 2007
From: bolker at zoo.ufl.edu (Ben Bolker)
Date: Tue, 29 May 2007 12:32:27 +0000 (UTC)
Subject: [Rd] bug from nlm function (PR#9711)
References: <20070526144343.214FC4889A@slim.kubism.ku.dk>
Message-ID: <loom.20070529T142937-357@post.gmane.org>

 <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 ...



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