Displaying 1 result from an estimated 1 matches for "hbwmode".
2011 Feb 28
4
mlogit.data
...;workdata.csv",header=TRUE, sep=",",
dec=".",row.names=NULL)
everything is fine at this point. I can generate descriptive statistics,
estimate regression models, and then do everything as a good data.frame
should.
But when I try to put the data into mlogit.data with
> hbwmode<-mlogit.data(hbwtrips,varying=c(8:11),shape="long",
choice="CHOSEN", alt.var="ALTNUM")
I get
Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.1", "1.2", "1.3",
:
duplicate 'row.names' are not allowed
In addition:...