getIconDiffs: Get the difference in icon selection

Description Usage Arguments Value

View source: R/iconPrefs.R

Description

This function gets the difference in the proportions of icon selection during the initial and final rounds for each subject with a unique combination of icons.

Usage

1
getIconDiffs(choiceData, side = FALSE)

Arguments

choiceData

The output of readChoices.

side

Logical: TRUE and the difference will be categorized by the side the icon appeared on the screen. FALSE and it won't be. Default is FALSE.

Value

A data frame with three columns containing subject, the icons they saw, and the difference between their initial preference for a given icon (as a proportion of the times they chose it when available) and their final icon preference.


jdtrat/iapsr documentation built on Oct. 2, 2021, 12:36 a.m.