capacity: Visual Arrays

View source: R/capacity.R

capacityR Documentation

Visual Arrays

Description

The visual arrays task is used to measure working memory capacity. Here we calculate the capacity from data. Note this is used when the whole visual arrays are to be detected.

Usage

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

k

The mean capacity in all conditions.

k3

The capacity in condition of 3 arrays.

k5

The capacity in condition of 5 arrays.

k7

The capacity in condition of 7 arrays.

k9

The capacity in condition of 9 arrays.


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