apply_user_cleanup {PupilPre} | R Documentation |
Applies manual cleanup to the data
Description
apply_user_cleanup
applies to each event the manual cleanup based on
data points stored in the RDS file created using user_cleanup_app
. The
Identified datapoints will be changed to NA.
Usage
apply_user_cleanup(data = data, LogFile = NULL)
Arguments
data |
A data frame object created from |
LogFile |
A character string indicating the name (and location) of the log file. |
Value
An object of type data table as described in tibble.
Examples
if (interactive()) {
# Load example data
data("Pupilex4")
# Ensure log file exists by using the cleanup app
# Writing log file to temporary folder for the example
user_cleanup_app(Pupilex4, LogFile = paste0(tempdir(),"/UserCleanupLog.rds"))
# Make cleanup via the app interface
# Read log file from the temporary folder
dat <- apply_user_cleanup(Pupilex4,
LogFile = paste0(tempdir(),"/UserCleanupLog.rds"))
}
# Please see the vignettes for detailed example usage.
# vignette("PupilPre_Cleanup", package="PupilPre")
[Package PupilPre version 0.6.2 Index]