mnl_create_random_initial_design: Creation of a random initial design using the MNL model

Description Usage Arguments Value Examples

View source: R/mnl_model_functions.R

Description

Creates a random initial design using the MNL model of the specified dimensions.

Usage

1

Arguments

q

integer specifying the number of mixture ingredients

J

integer specifying the number of alternatives within each choice set

S

integer specifying the number of choice sets

seed

integer used for reproducibility

Value

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

Examples

1
mnl_create_random_initial_design(q = 3, J = 2, S = 8, seed = 2020)

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