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
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.