bart: Balloon Analogue Risk Task

View source: R/bart.R

bartR Documentation

Balloon Analogue Risk Task

Description

This task is deemed as a measure of impulsivity.

Usage

bart(data, .by = NULL, .input = NULL, .extra = NULL)

Arguments

data

Raw data of class data.frame.

.by

The column name(s) in data used to be grouped by. If set to NULL (default), all data will be treated as from one subject and there will be no grouping columns in the value returned.

.input, .extra

Each is a list() containing all the input variable names and special values for certain variables. See more in the details section.

Value

An object with the same class as data contains following values:

mean_pumps

Mean of hits for balloons not exploded.

mean_pumps_raw

Mean of hits for all balloons.

num_explosion

Number of exploded balloons.


psychelzh/dataproc.iquizoo documentation built on Oct. 20, 2024, 6:26 p.m.