powered by
This function builds the variable names that corresponds to the pairwise comparisons or ranks among items within each block.
build_TIRT_var_names( item_name = "i", block_size, N_blocks, format = "pairwise" )
A vector of variable names
The prefix you want to have for your response variables.
The block size and total number of the forced-choice scale.
What format should the converted responses be in? Can be "pairwise" or "ranks".
"pairwise"
"ranks"
Mengtong Li
Choose the correct item_name so that they are consistent with the item names in the data frame storing information of the items.
item_name
get_TIRT_long_data()
build_TIRT_var_names("i", block_size = 3, N_blocks = 20, format = "pairwise") build_TIRT_var_names("i", block_size = 5, N_blocks = 12, format = "ranks")
Run the code above in your browser using DataLab