Thanks, Peter, it's working perfectly now.
And yes, the function does return 'something'. I just wanted to make the code
minimal.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Dear all,
I've been having problems running update() to re-fit a cpglm model inside a
function (as in the code below). The solution is probably simple, but I'm
stuck. If anyone could help, I'd greatly appreciate it.
Regards,
Rubem
## R code
library(cplm)
## Data simulation
Dear list,
When running the script below, the optim function returns the message 'Error in
function (par) : could not find function fn'. I've re-read the code a few
times and just can't figure out why it's happening. Any help/suggestion is
appreciated.
Regards,
Rubem
## R script
optim
On 2012-05-23 09:39, Rubem Kaipper Ceratti wrote:
Dear list,
When running the script below, the optim function returns the message 'Error
in function (par) : could not find function fn'. I've re-read the code a
few times and just can't figure out why it's happening. Any help/suggestion
4 matches
Mail list logo