Skip to content
Back to formatted view

Raw Message

Message-ID: <dee03088-8dbc-45dc-999f-83a1d619f9cd@email.android.com>
Date: 2013-06-16T00:46:54Z
From: Jeff Newmiller
Subject: Optimization of a function using optim
In-Reply-To: <CAJhGg+0U98D9VhZ+gghvJ8y-AXSqQ=F5uSsi3XeXivC4u1c9Yg@mail.gmail.com>

Not unless you read the Posting Guide, stop posting in HTML mail format, and provide a reproducible example.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Graham McDannel <graham.mcdannel at gmail.com> 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
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at 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.