http://r.789695.n4.nabble.com/file/n3329821/workdata.csv workdata.csv
The code I posted is exactly what I am running. What you need is this data.
Here is the code again.
hbwmode-mlogit.data(worktrips.csv, shape=long, choice=CHOSEN,
alt.var=ALTNUM)
hbwmode-mlogit.data(hbwtrips, shape=long,
I actually have exactly the same question as Maha, and I wish that Z had
answered the question instead of providing a lesson in streamlined code
(valuable, but not helpful).
It seems as though mlogit.data repopulates the row.names field, and that
this is where the duplication comes in.
2 matches
Mail list logo