[R] Optimization of a function using optim

Rolf Turner rolf.turner at xtra.co.nz
Sun Jun 16 02:51:58 CEST 2013



The r-help list should institute a prize for "Most Obtuse Question
of the Month".  This one should be a shoe-in for the June 2013 prize.

     cheers,

         Rolf Turner

On 16/06/13 12:08, Graham McDannel wrote:
> I am attempting to optimize a function I have developed using optim.
>
> I am getting the below error message:
>
> Error in n < 1: 'n' is missing
>
> Could some one provide some additional clarity regarding this message and
> what it entails, as well as, how to rectify this issue.
>
> Thanks



More information about the R-help mailing list