Compute the model matrix for RUM
specific stuff compared to the model.matrix.dfidx method which simply applies the Formula method
## S3 method for class 'dfidx_mlogit' model.matrix(object, ..., lhs = NULL, rhs = 1, dot = "separate")
object
: the object..., lhs, rhs, dot
: see the Formula
methodYves Croissant