Hi Eric,
There are a few mysteries in your request. As we don't know what "des"
is, it is difficult to see why it does not have the correct number of
dimensions. It looks like it should be an n x 6 matrix, but is that
what it really is and does the mlogit function expect such a matrix?
JIm
On Wed
Hi
Please, I get this error message “Error in data[theorder, ] : incorrect
number of dimensions” when I run the mlogit model presented below.
Best regards,
Eric
library(mlogit)
library(idefix)
idefix.data *<- *aggregate_design
idefix.data
des *<- *as.matrix(idefix.data[, 3*:*8], nco
2 matches
Mail list logo