[R] mlogit.optim start values problem

2015-11-12 Thread Alaa Sindi
Hello All, I received the following message and I think it is regarding start values or the method. semsem = mlogit.optim ( LL=LL*Prob[i,1] , start = c(1,1,1), method = c("bfgs"), iterlim = 2000, tol = 1E-05, ftol = 1e-08, steptol = 1e-10, print.level = 2) + + } Error in as.name(f[[2]]) :

Re: [R] mlogit.optim start values problem

2015-11-12 Thread Jim Lemon
Hi Alaa, >From the code you sent, I think that the error may be in one or more lines preceding the call to mlogit.optim. The "+" prompt means that the R interpreter thinks there is more to come, and when you added a right brace ("}"), it probably tried to interpret everything back to the last left