Learn R Programming

PupilPre (version 0.6.2)

user_cleanup_app: Interactive app for manually cleaning pupil data.

Description

user_cleanup_app plots current pupil data and allows the user to select data points which should be removed (changed to NA). The app saves a record of the to-be-executed changes in an RDS file.

Usage

user_cleanup_app(data = data, LogFile = NULL)

Arguments

data

A data table object.

LogFile

A character string indicating the name (and location) of the log file to be read/written.

Examples

Run this code
# NOT RUN {
if (interactive()) {

# Load example data
data("Pupilex4")

# Writing log file to temporary folder for the example
user_cleanup_app(Pupilex4, LogFile = paste0(tempdir(),"/UserCleanupLog.rds"))
}

# Please see the vignettes for detailed example usage.
# vignette("PupilPre_Cleanup", package="PupilPre")

# }

Run the code above in your browser using DataLab