Description Usage Arguments Value Examples
View source: R/mnl_model_functions.R
Creates a random parameter vector with the appropriate dimensions as in Bayesian D-optimal choice designs for mixtures by Ruseckaite, Goos & Fok (2017).
1 | mnl_create_random_beta(q, order = 3, seed = NULL)
|
q |
integer specifying the number of mixture ingredients |
order |
integer corresponding to a Scheffé model order (1, 2, 3). |
seed |
integer used for reproducibility |
Returns a list in which the first element of the list is a numerical vector with the parameters and the second element is a matrix with the indices as in Bayesian D-optimal choice designs for mixtures by Ruseckaite, Goos & Fok (2017).
1 | mnl_create_random_beta(q = 3, order = 3, seed = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.