Description Usage Arguments Details Examples
makeOCplot()
creates an onset contingency plot
1 2 | makeOCplot(df_gvs, plotStartWindow = 0, plotEndWindow = 3000,
sample_rate = 17, smoothing_factor = 5, save_results = TRUE)
|
df_gvs |
A data frame of graph values created by the |
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. |
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).
1 2 3 | ## Not run: makeOCplot(df_gvs, plotStartWindow = 0, plotEndWindow = 3000, sample_rate = 17, smoothing_factor = 5,
save_results = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.