mlogit (version 1.1-1)

model.matrix.dfidx_mlogit: Compute the model matrix for RUM

Description

specific stuff compared to the model.matrix.dfidx method which simply applies the Formula method

Usage

# S3 method for dfidx_mlogit
model.matrix(object, ..., lhs = NULL, rhs = 1, dot = "separate")

Arguments

object

the object

..., lhs, rhs, dot

see the Formula method