model.matrix.dfidx_mlogit {mlogit}R Documentation

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


[Package mlogit version 1.1-1 Index]