View source: R/convert_mole_to_pairwise.R
| convert_mole_to_pairwise | R Documentation |
Convert Most/Least (MOLE) Survey Data into Pairwise Binary Outcomes
convert_mole_to_pairwise(data, n_blocks, block_size)
data |
A data frame with exactly (2 * n_blocks) columns. Odd columns = "Most" choice, Even columns = "Least" choice. Values should be numeric item IDs (either global or local block IDs). |
n_blocks |
Integer. Number of blocks in the questionnaire. |
block_size |
Integer. Number of items per block. |
A data frame of pairwise binary outcomes (1s, 0s, and NAs).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.