convert_mole_to_pairwise: Convert Most/Least (MOLE) Survey Data into Pairwise Binary...

View source: R/convert_mole_to_pairwise.R

convert_mole_to_pairwiseR Documentation

Convert Most/Least (MOLE) Survey Data into Pairwise Binary Outcomes

Description

Convert Most/Least (MOLE) Survey Data into Pairwise Binary Outcomes

Usage

convert_mole_to_pairwise(data, n_blocks, block_size)

Arguments

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.

Value

A data frame of pairwise binary outcomes (1s, 0s, and NAs).


autoFC documentation built on July 14, 2026, 5:07 p.m.