Learn R Programming

hmmr (version 1.0-0)

IGT: Iowa Gambling Task data

Description

This data set contains responses of 30 participants on the Iowa Gambling Task.

Usage

data(IGT)

Arguments

Format

A data frame with 3000 observations on the following variables.

id

a factor with participant IDs

trial

a numeric vector with trial numbers

deck

a factor with the deck chosen on each trial (A-D)

wager

a factor indicating whether participants wagered low or high

win

a numeric variable with the amount won on each trial

loss

a numeric variable with the amount lost on each trial

gdeck

a factor indicating whether the chosen deck was good/advantageous (TRUE) or not (FALSE)

fdeck

a factor indicating whether the chosen deck has a relatively high frequency of losses (TRUE) or not (FALSE)

Examples

Run this code
# NOT RUN {
data(IGT)
# }

Run the code above in your browser using DataLab