Displaying 1 result from an estimated 1 matches for "r47039".
Did you mean:
447039
2008 Dec 03
1
nlminb: names of parameter vector not passed to objective function
...course, a
workaround, but in order to make optim and nlme more compatible I would
ask whether it would be possible to change this idiosyncratic behavior?
Tested with:
R version 2.8.0 Patched (2008-11-04 r46830) i386-pc-mingw32
and also
R version 2.9.0 Under development (unstable) (2008-12-03 r47039)
i386-pc-mingw32
Thanks a lot
Thomas Petzoldt
set.seed(3577) # make it reproducible
## 1) example taken from ?nlminb -------------------------------------
x <- rnbinom(100, mu = 10, size = 10)
hdev <- function(par) {
-sum(dnbinom(x, mu = par[1], size = par[2], log = TRUE))
}
nlmin...