search for: negllgamma

Displaying 1 result from an estimated 1 matches for "negllgamma".

2004 Jan 20
0
nlminb function
Hello, I've got a program written in S-plus which I think is converted successfully to R with the exception of part of the opt.param function written. In S-plus it is: nlminb(start=x0, obj=negllgamma.f, scale=1, lower=c(0.01,0.0001), upper=c(10,0.9999), gamma=gamma, maxlik=maxlik, y=ldose, s=lse, max.iter = 1000, max.fcal = 1000)$par and so far with R I've got to: optim(par=x0, fn=negllgamma.f, method="L-BFGS-B", lower=c(0.01,0.0001), upper=c(10,0.9999), gamma=gamma, maxli...