Description Usage Arguments Value Examples
View source: R/mnl_model_functions.R
Creates a random initial design using the MNL model of the specified dimensions.
1 | mnl_create_random_initial_design(q, J, S, seed = NULL)
|
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 |
3-dimensional array of size (q, J, S)
.
1 | mnl_create_random_initial_design(q = 3, J = 2, S = 8, seed = 2020)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.