Displaying 1 result from an estimated 1 matches for "profileerr".
Did you mean:
profile_rt
2008 Aug 28
2
Defining environments within functions
How can I define environments within a function so that they are visible
to calls to a sub-function?
I have defined an objective function,
ProfileErr = function(params,...)
which I would like to optimize using standard routines (optim,
nlminb,....) but which contains auxiliary variables which need to be
updated along with params. No optimization routine in R that I have
found has facilities for this.
Specifically, within ProfileErr, I need to...