View source: R/cbc-data-handling.R
generateRNDpws | R Documentation |
Generate some zero-centered part worths (utilities) for CBC design
generateRNDpws(attrs, mu = 0, sdev = 1)
attrs |
A vector with the attribute/level design, as noted for
|
mu |
The mean of the random utilities |
sdev |
Standard deviation of the utilities |
A vector of random values that sum to 0 for each subset of values that correspond to one attribute in a CBC attribute/level design.
[generateMNLrandomTab] to create a design matrix, [pickMNLwinningCards] to select the winning concepts from it, given some set of utilities (as from this function).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.