[R] nlm and missing argument

2008-05-29 Thread Redding, Matthew
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 }

Re: [R] nlm and missing argument

2008-05-29 Thread Charilaos Skiadas
On May 29, 2008, at 11:54 PM, Redding, Matthew wrote: 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: