Skip to content
Prev 177407 / 398506 Next

Using trace

Well, yes, of course I could add the code to the function by hand.  I
could also calculate square roots by hand.  But -- as in every other
basic programming environment -- there exists an R function 'trace'
which appears to automate the process, and I can't figure out how to
use it to handle this most elementary and standard case.  Clearly I'm
missing something.

              -s
On Thu, Apr 16, 2009 at 9:26 PM, ronggui <ronggui.huang at gmail.com> wrote: