bws3Dataset {RcmdrPlugin.BWS3} | R Documentation |
Create Data Set for BWS3 Analysis
Description
Create a data set for BWS3 analysis from choice sets for BWS3 and data set containing responses to BWS3 questions.
Details
This dialog box creates a data set for BWS3 analysis from the choice sets
designed in the ‘Design Choice Sets for BWS3
’ dialog box and
a data set containing responses to BWS3 questions by using the function
bws3.dataset
in support.BWS3.
The current version assumes that a maximum difference model is used.
This dialog box is activated if the data set for BWS3 analysis is
selected as the active data set. For details on the results of this dialog box,
refer to help for function bws3.dataset
.
GUI elements of this dialog box are as follows.
-
Name for data set
: An R object name into which a data set generated using this dialog box is stored. The default name ‘BWS3data
’ can be changed following R's rules for naming objects. If changed, you should take note of the new object name, which will be used later. -
Save to file
: A check box for saving the resultant data set to an external file in RDA format (.rda
). If necessary, check this box. -
Design
: An R object name containing BWS3 choice sets generated in the ‘Design Choice Sets for BWS3
’ dialog box. The default name ‘BWS3design
’ is displayed automatically. The correct name should be entered if the name of BWS3 choice sets (BWS3design
) was changed in the dialog box for BWS3 design. -
ID variable
: A variable name identifying respondents. The default name ‘id
’ can be changed according to the corresponding variable name in the active data set. -
Number of BWS3 questions
: A number of BWS3 questions per respondent. According to the design parameters set in the first dialog box, this slider is set at the appropriate number. Depending on the value, the number of rows of the ‘Names of best- and worst-response variables
’ table varies. -
Letters of best- and worst-response variables
: A type of letters used for best- and worst-variable names shown in the ‘Names of best- and worst-variable names
’ table. Select one from three radio buttons corresponding to ‘Uppercase
’, ‘Lowercase
’, and ‘None
’. According to the selection, letters of best- and worst variable names in the table are changed. When selecting ‘None
’, no variable names appear in the table. Users must type appropriate names in each cell of the table. -
Opt-out option
: A check box for an opt-out option. If the opt-out option was used in the BWS3 questions, check this box. -
Names of best- and worst-response variables
: The names given for the best- and worst-response variables stored in the active data set. These names must follow R's rules for naming variables.
Please click the ‘Cancel
’ button and open this dialog box again
if it does not work as expected.