poolData: Pool Data

Description Usage Arguments Details Examples

Description

poolData() computes the mean accuracy or RT for each each participant and condition.

Usage

1
2
3
poolData(iChart, dependent = "Accuracy", include_T_initial = TRUE,
  RejectFirstGap = TRUE, RejectLongestGap = TRUE, RejectRT = FALSE,
  save_results = TRUE)

Arguments

iChart

A data frame in iChart format with iChart column names.

dependent

A string indicating which dependent measure to use (Accuracy or RT).

include_T_initial

A boolean indicating whether Target-initial trials should be included in RT computation.

RejectFirstGap

A boolean indicating whether bad first gaps should be filtered out of the computation.

RejectLongestGap

A boolean indicating whether bad longest gaps should be filtered out of the computation.

RejectRT

A boolean indicating whether bad RTs should be filtered out of the computation.

save_results

A boolean indicating whether the results should be saved to disk.

Details

This function aggregates iChart RT and Accuracy for each trial, participant, and condition, returning this information in a data frame.

Examples

1
2
3
## Not run: acc <- poolData(d, RejectFirstGap=FALSE, RejectLongestGap=FALSE, RejectRT=FALSE,
  dependent="Accuracy", paired = TRUE, save_results = TRUE)
## End(Not run)

kemacdonald/iChartAnalyzeR documentation built on May 7, 2019, 8:44 a.m.