This is the line I am trying to run:
m1 <- mlogit(choice ~ Mode+use+SM, data=dca_long)
This is the error message returned: