bps: Behavioral Pattern Separation (BPS) task

View source: R/bps.R

bpsR Documentation

Behavioral Pattern Separation (BPS) task

Description

This function mainly calculates the "BPS score" developed by Stark et al. (2013).

Usage

bps(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:

pc

Percent of correct responses.

p_sim_target

Percent of similar responses for "target" stimuli.

p_sim_lure

Percent of similar responses for "lure" stimuli.

p_sim_foil

Percent of similar responses for "foil" stimuli.

bps_score

BPS score.


psychelzh/preproc.iquizoo documentation built on Oct. 20, 2024, 6:27 p.m.