mnl_get_Xs: Compute design matrix of a specific choice set using the MNL...

Description Usage Arguments Value

View source: R/mnl_model_functions.R

Description

Compute the design matrix of choice set s using the MNL model.

Usage

1

Arguments

X

3-dimensional design cube/array of size (q, J, S).

s

integer corresponding to a choice set in 1 to S.

order

integer corresponding to a Scheffé model order (1, 2, 3).

Value

Matrix of dimension (J, m-1) that corresponds to the design matrix of choice set s.


mariobecerra/opdesmixr documentation built on Aug. 13, 2021, 9:44 p.m.