Description Usage Arguments Value Examples
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.
1 | apply_user_cleanup(data = data, LogFile = NULL)
|
data |
A data frame object created from |
LogFile |
A character string indicating the name (and location) of the log file. |
An object of type data table as described in tibble.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.