Dear R Gurus, 

I am having a little difficulty with nlm. I've searched the archives and
found nothing that tells me why this is occuring -- though there are
some slightly similar issues.

A simple example:

lev2<-function(aaa,bbb,ccc,ddd,eee){
        res<-aaa+bbb+ccc+ddd+eee
        res

}

nlm(lev2,p=c(32,4,5),ddd=45,eee=23)

Error in f(x, ...) : argument "bbb" is missing, with no default

Why is this occurring?  I am running 2.6.1.

Is there something simple here that I am overlooking?  I am trying to
take advantage of the "..." method of inputing 
parameters that I do not want optimised.

Kind regards, 


Matt Redding
********************************DISCLAIMER**************...{{dropped:15}}

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

Reply via email to