Skip to content
Prev 257236 / 398506 Next

how to extract options for a function call

Try this:

For optim:
eval(formals(optim)$method)

For dist function:
 eval(body(dist)[[3]][[3]])
On Mon, Apr 18, 2011 at 10:56 AM, fisken <torpedofisken at gmail.com> wrote: