kamel gaanoun wrote: > I use nlminb like this : > res1<-nlminb(vect, V, lower=c(rep(0.01, 12), rep(0.01, 3), rep(-Inf, > n-15)), upper=c(rep(Inf, 12), rep(0.99, 3), rep(Inf, n-15)), control = > list(maxit=1000) ) > > and that's the result : > > Message d'avis : > In nlminb(vect, V, lower = c(rep(0.01, 12), rep(0.01, 3), rep(-Inf, : > unrecognized control element(s) named `maxit' ignored
Just increase the maximum number of iterations. Which you tried to do, but didn’t succeed in, as the above warnings shows. The argument is called ‘iter.max’, not ‘max.iter’. -- Karl Ove Hufthammer ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.