There's a "no-homework" policy on this list and given that you are sending
from a ".student" account and referencing example assignments, you probably
won't get any help. Looking at the given code, it seems like you should get
in touch with a TA sooner rather than later though.

Best of luck,

Michael

On Thu, Aug 25, 2011 at 2:20 PM, Ville Iiskola <iiskola@student.uef.fi>wrote:

> Hi
>
> I have an example file in excel and i have following instructions to open
> and analyze the data in it.
>
> > library(RODBC)
> > library(mlogit)
> > z<-odbcConnectExcel("C:\\2008 Racedata.xls")
>
> Everything ok untill the next command
>
> >
> x<-mlogit.data(y,choice="winner",shape="long",id.var="datekey",alt.var="horseno")
> Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.8", "1.11", "1.6",
>  :
>  duplicate 'row.names' are not allowed
>
> Could someone tell me what is wrong...this is an examble file and i just
> followed the instructions in the paper but not working...
>
> thanks already.....!!
>
> Ville
>
>
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> 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.
>

	[[alternative HTML version deleted]]

