bws1Dataset {RcmdrPlugin.BWS1} | R Documentation |
Create Data Set for BWS1
Description
Create a data set for BWS1 analysis from choice sets for BWS1 and data set containing responses to BWS1 questions.
Details
This dialog box uses the function bws.dataset
in
support.BWS to create a data set for BWS1 analysis from the choice
sets designed in the ‘Design Choice Sets for BWS1
’ dialog box
and a data set containing responses to BWS1 questions.
This dialog box is activated if the data set containing responses to BWS1
questions is selected as the active data set. For details on the results of
this dialog box, refer to help for bws.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 ‘BWS1data
’ 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 BWS1 choice sets generated in the ‘Design Choice Sets for BWS1
’ dialog box. The default name ‘BWS1design
’ is displayed automatically. The correct name should be entered if the name of BWS1 choice sets (BWS1design
) was changed in the dialog box for BWS1 design. -
Items
: An R object name containing BWS1 items entered in the ‘Design Choice Sets for BWS1
’ dialog box. The default name ‘BWS1items
’ is displayed automatically. The correct name should be entered if the name of BWS1 items (BWS1items
) was changed in the dialog box for BWS1 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. -
Response variable format
: A format of response variable. Select one from two radio buttons corresponding to ‘Row number format
’ and ‘Item number format
’. See help for a functionbws.dataset
for the definition of two formats. -
Model type
: The specific type of model used for an analysis. Select one from three radio buttons corresponding to ‘Maxdiff model
’, ‘Marginal model
’, and ‘Marginal sequential model
’. Search help for a functionbws.dataset
for details on three models. -
Number of BWS1 questions
: The number of BWS1 questions per respondent. According to the design parameters set in the ‘Design Choice Sets for BWS1
’ dialog box, this slider is set to the appropriate number. Depending on the number, the number of rows of the ‘Names of best- and worst-response variables
’ table varies. -
Letters of best- and worst-response variables
: Types/formats 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, the letters of the 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. -
Names of best- and worst-response variables
: Names of 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.