itemOrder: Split Item-Order Information into Separate Variables

View source: R/itemOrderOLD.R View source: R/itemOrder.R

itemOrderR Documentation

Split Item-Order Information into Separate Variables

Description

Some programs, like Qualtrics, will provide item-order information in a relatively compact single string like "##|##|##|..." to indicate order items were presented to participants

This (pretty simple) code will allow you to more easily separate this item-order information into separate variables that can be used for quantitative analyses

Some programs, like Qualtrics, will provide item-order information in a relatively compact single string like "##|##|##|..." to indicate order items were presented to participants

This (pretty simple) code will allow you to more easily separate this item-order information into separate variables that can be used for quantitative analyses

Usage

itemOrder(BFIorder) #order in which person saw each BFI item, if presented randomly

itemOrder(BFIorder) #order in which person saw each BFI item, if presented randomly

Arguments

itemorder

Order of which item presented the participant first, second, etc

delim

Delimiter to use to split order string (defaults to Qualtrics' use of '|' to separate variables)

numeric

Convert to numeric ratings? (Defaults to T, but may be F if itemorder presents variables names rather than numbers)

Details

Function indicates which items the person saw when. This can be used to estimate item distance and such matters

Function indicates which items the person saw when. This can be used to estimate item distance and such matters

Value

Matrix of which item was presented first, second, etc)

Matrix of which item was presented first, second, etc)


funfield-lab/fancyr documentation built on Nov. 21, 2023, 2:42 p.m.