Displaying 1 result from an estimated 1 matches for "datekey".
Did you mean:
dat_key
2011 Aug 25
1
duplicate 'row.names' are not allowed???
...d 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 t...