get_composites: Get composite ACE scores across module

View source: R/module-composites.R

get_compositesR Documentation

Get composite ACE scores across module

Description

Function to summarize individual data across multiple modules.

Usage

get_composites(x)

Arguments

x

a data.frame containing ACE summary statistics, created using proc_by_module with output = "wide". NOTE: If processing data containing the Filter module, this IS compatible with the list of length 2, where the Filter data is separate, that is output by proc_by_module(output = "wide"). NOT compatible with data from output = "list".

Value

Returns composite percentile scores for all modules present in data as a dataframe.

Composite makeups

Composites are calculated by the following process: 1. For each module, calculate percentile rank for each individual subject in that module's dataset 2. For each pre-specified composite group of module performance metrics, calculate average percentile rank across each metric in the composite group. Note: Percentile ranks within module are calculated for all subjects with valid data in that module, but composite rank scores between module are calculated only for subjects who have valid data for every module required to calculate that composite score.

Working memory wm component metrics: Forward and backward spatial span count, filtering capacity (k) for 0-distractor trials only Filtering filtering component metrics: Filtering k for 0-distractor trials, Flanker cost of incongruence on RT, Stroop cost of incongruence on RT Focus focus component metrics: Boxed cost of conjunction on RT, SAAT sustained condition RT Impulsivity impulsivity component metrics: SAAT impulsive condition RT Goal management goal_mgmt component metrics: Tap-and-trace cost of dual-task on RT, task-switch cost of switching on RT


josegallegos07/aceR documentation built on June 27, 2022, 10:25 a.m.