Description Usage Arguments Value
View source: R/mnl_model_functions.R
This function creates a dataframe/tibble with Monte Carlo simulations for Fraction of Design Space plots.
1 2 3 4 5 6 7 8 | mnl_get_fds_simulations(
design_array,
beta,
order,
n_points_per_alternative = 500,
transform_beta = F,
verbose = 0
)
|
design_array |
3-dimensional design array. |
beta |
Matrix with Halton draws of the prior distribution |
order |
integer corresponding to Scheffé model of order 1, 2, or 3. |
n_points_per_alternative |
Number of points to approximate the prediction variance. |
transform_beta |
boolean parameter. Should the beta vector/matrix be transformed by subtracting the |
verbose |
Level of verbosity |
Tibble of size J*n_points_per_alternative
where J is the number of alternatives per choice set, i.e., the second element in dim(design_array)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.