model.matrix.dfidx_mlogit function

Compute the model matrix for RUM

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")

Arguments

  • object: the object
  • ..., lhs, rhs, dot: see the Formula method

Author(s)

Yves Croissant

  • Maintainer: Yves Croissant
  • License: GPL (>= 2)
  • Last published: 2020-10-02