This function will remove problematic subjects based on a filter criterion and save them to a log data file.

remove_problematic(x, remove = "", log_file = NULL)

Arguments

x

dataframe

remove

an expression passed on to dplyr:filter()

log_file

the file path and name for where to save a log file to