makeOCplot: Make Onset Contingency Plot

Description Usage Arguments Details Examples

Description

makeOCplot() creates an onset contingency plot

Usage

1
2
makeOCplot(df_gvs, plotStartWindow = 0, plotEndWindow = 3000,
  sample_rate = 17, smoothing_factor = 5, save_results = TRUE)

Arguments

df_gvs

A data frame of graph values created by the generateOCgraphValues() function.

plotStartWindow

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

plotEndWindow

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

sample_rate

An integer indicating the sampling rate of the eye tracker in milliseconds (likely 17 or 33 ms).

smoothing_factor

An integer controlling the number of data points that are displayed on the OC Plot. Higher values display fewer data points. A value of 1 shows all data points.

save_results

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

Details

This function takes graph values and generates a onset contingency plot (proportion looking to target as a function of time and where participant was looking at F0).

Examples

1
2
3
## Not run: makeOCplot(df_gvs, plotStartWindow = 0, plotEndWindow = 3000, sample_rate = 17, smoothing_factor = 5,
  save_results = TRUE)
## End(Not run)

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