Choice Modeling - Diagnostic - Experimental Design - Preview Choice Questionnaire extension
Jump to navigation
Jump to search
Preview questions from a Choice Model Design output as they would appear in a questionnaire.
Example
Output Example:
Input Example:
A Choice Modeling - Experimental Design
Options
Choice experimental design output A Choice Model Design output to preview.
Design version number to preview The version number in the design to show the questions for.
includeWeb("QScript R Output Functions");
includeWeb("QScript Selection Functions");
const menu_location = "Choice Modeling > Preview Choice Questionnaire";
errorIfExtensionsUnavailableInQVersion(menu_location);
let user_selections = getAllUserSelections();
let selected_item = user_selections.selected_r_outputs[0];
let selected_group = selected_item.group;
let output = selected_group.appendStandardR("Choice Modeling - Preview Choice Questionnaire", { "formCMD": selected_item.guid});
See also
- QScript for more general information about QScripts.
- QScript Examples Library for other examples.
- Online JavaScript Libraries for the libraries of functions that can be used when writing QScripts.
- QScript Reference for information about how QScript can manipulate the different elements of a project.
- JavaScript for information about the JavaScript programming language.
- Table JavaScript and Plot JavaScript for tools for using JavaScript to modify the appearance of tables and charts.