Description Usage Arguments Value Examples
ppl_prep_data
checks for necessary columns and converts the class
if needed.
1 2 | ppl_prep_data(data, Subject = NULL, Item = NA,
EventColumns = c("Subject", "TRIAL_INDEX"))
|
data |
A data frame object created from an Eyelink Sample Report. |
Subject |
An obligatory string containing the column name corresponding to the subject identifier. |
Item |
An optional string containing the column name corresponding to the item identifier; by default, NA. |
EventColumns |
A vector specifying the columns which will be used for creating the Event variable; by default, Subject and TRIAL_INDEX. |
An object of type data table as described in tibble.
1 2 3 4 5 6 7 8 9 | # Load example data
data("Pupilex1")
dat <- ppl_prep_data(Pupilex1, Subject = "RECORDING_SESSION_LABEL",
Item = "item",
EventColumns = c("Subject","TRIAL_INDEX"))
# Please see the vignettes for detailed example usage.
# vignette("PupilPre_Basic_Preprocessing", package="PupilPre")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.