Description Usage Arguments Examples
This function starts a shiny server for plotting pupil data.
1 2 3 4 5 6 | pupilPlot(data = NULL, variableNames = c(),
excludeFromSelectors = c("SubjectNr"), trialTimeVariable = "TrialTime",
pupilSizeVariables = list(`Baseline Corrected` = "size"),
samplingFrequency = 60, trialDuration = 5000,
subjectVariable = "SubjectNr", trialVariable = "Trial",
subjectMeansInterval = c(0, trialDuration))
|
data |
A full data.table with all relevant variables. |
variableNames |
Names of variables in the experiment that you would like to plot by. |
excludeFromSelectors |
Names of variables not to be used in selectors (e.g.: Subject numbers) |
trialTimeVariable |
Name of variable holding the trial-relative timepoints. |
pupilSizeVariables |
List of variable desriptions and names |
samplingFrequency |
How many samples per second. |
trialDuration |
How long did each trial last. |
subjectVariable |
Name of variable holding subject numbers. |
trialVariable |
Name of variable holding trial numbers. |
subjectMeansInterval |
Interval for exporting subject means. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.