[prev in list] [next in list] [prev in thread] [next in thread]
List: r-devel
Subject: Re: [Rd] bug from nlm function (PR#9711)
From: Ben Bolker <bolker () zoo ! ufl ! edu>
Date: 2007-05-29 12:32:27
Message-ID: loom.20070529T142937-357 () post ! gmane ! org
[Download RAW message or body]
<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 ...
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic