[R] [FORGED] error in mlogit.optim
Rolf Turner
r.turner at auckland.ac.nz
Tue Sep 22 23:31:45 CEST 2015
On 23/09/15 03:33, Alaa Sindi wrote:
> Hi all
>
> I hope you are doing well.
>
> I am trying to install and use mlogit.optim and getting this error.
>
> Error: could not find function “mlogit.optim"
>
> Warning in install.packages : unable to access index for repository
> https://cran.rstudio.com/src/contrib
> <https://cran.rstudio.com/src/contrib> Warning in install.packages :
> unable to access index for repository
> https://cran.rstudio.com/src/contrib
> <https://cran.rstudio.com/src/contrib> Warning in install.packages :
> package ‘mlogit.optim’ is not available (for R version 3.2.2) Warning
> in install.packages : unable to access index for repository
> https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2
> <https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.2>
I see that the out-patients are out in force tonight.
You need to install (and then load) the ***mlogit*** package. The
function mlogit.optim() is a function in this package. Learn to use
search tools. Better still, learn to think.
cheers,
Rolf Turner
--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
More information about the R-help
mailing list