Learn R Programming

PupilPre (version 0.6.2)

Preprocessing Pupil Size Data

Description

Pupillometric data collected using SR Research Eyelink eye trackers requires significant preprocessing. This package contains functions for preparing pupil dilation data for visualization and statistical analysis. Specifically, it provides a pipeline of functions which aid in data validation, the removal of blinks/artifacts, downsampling, and baselining, among others. Additionally, plotting functions for creating grand average and conditional average plots are provided. See the vignette for samples of the functionality. The package is designed for handling data collected with SR Research Eyelink eye trackers using Sample Reports created in SR Research Data Viewer.

Copy Link

Version

Install

install.packages('PupilPre')

Monthly Downloads

169

Version

0.6.2

License

GPL-3

Maintainer

Aki-Juhani Kyr<c3><b6>l<c3><a4>inen

Last Published

March 10th, 2020

Functions in PupilPre (0.6.2)

apply_butter

Applies a Butterworth filter to each event.
clean_artifact

Automatically clean artifacts.
ppl_plot_avg_contour

Plots average contour surface of pupil data.
ppl_prep_data

Check the classes of specific columns and re-assigns as necessary.
baseline

Baseline correct the data
ppl_plot_avg

Plots average Pupil.
apply_user_cleanup

Applies manual cleanup to the data
trim_filtered

Trim the beginning and end of filtered events.
user_cleanup_app

Interactive app for manually cleaning pupil data.
check_baseline

Check baseline window for missing data
apply_cleanup_change

Applies user-selected changes to auto cleanup
clean_blink

Automatically clean Eyelink marked blinks.
ppl_plot_avg_cdiff

Plots average difference between two conditions.
compare_summary

A utility function to compare pupil size data before and after applying the cleanup
ppl_select_recorded_eye

Select the eye used during recording
plot_events

Plot each event within a group to a directory
plot_compare_app

Plots comparison of Pupil and Pupil_Previous by event.
ppl_rm_extra_DVcols

Checks for and removes unnecessary DV output columns.
verify_cleanup_app

Interactive app for verifying auto cleanup.
plot_summary_app

Plots summary of subject or item.
ppl_check_eye_recording

Check which eyes were recorded during the experiment
PupilPre

PupilPre: Preprocessing Pupil Size Data.
blink_summary

Check blinks
butter_filter_app

Plots the effect of Butterworth filtering by event.
recode_off_screen

Check for samples off-screen and marks as NA.
downsample

Downsample the data
interpolate_NAs

Interpolation for missing data.
rm_sparse_events

Removes events with excessive missing data
Pupilex3

This is an example dataset to illustrate certain functionality
NA_summary

Check missing data
Pupilex2

This is an example dataset to illustrate certain functionality
Pupilex1

This is an example dataset to illustrate certain functionality
Pupildat

This is a sample pupil size dataset included in the package
Pupilex6

This is an example dataset to illustrate certain functionality
Pupilex5

This is an example dataset to illustrate certain functionality
Pupilex4

This is an example dataset to illustrate certain functionality
Pupilex7

This is an example dataset to illustrate certain functionality