computeStatistics: Compute Statistics On iChart

Description Usage Arguments Details Examples

Description

computeStatistics() takes two values that indicated an analysis window and computes the following statistics for each trial: RT, longestLook, longestGap, Gap, longestGapPosition, NumberOfShifts, FirstFixation, and Accuracy.

Usage

1
2
3
computeStatistics(iChart, cleanWindowStart = 300, cleanWindowEnd = 3000,
  accuracyWindowStart = 300, accuracyWindowEnd = 1800,
  save_results = TRUE)

Arguments

iChart

A data frame in iChart format with iChart column names.

cleanWindowStart

An integer indicating the lower bound of the cleaning window in milliseconds.

cleanWindowEnd

An integer indicating the upper bound of the cleaning window in milliseconds.

accuracyWindowStart

An integer indicating the lower bound of the accuracy computation window in milliseconds.

accuracyWindowEnd

An integer indicating the upper bound of the accuracy computation window in milliseconds.

save_results

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

Details

This function computes the relevant stats on an iChart.

Examples

1
## Not run: d <- computeStatistics(iChart, cleanWindowStart=0, cleanWindowEnd=3000, accuracyWindowStart = 300, accuracyWindowEnd = 1800, save_results = TRUE)

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