This function takes as import two dataframes. The first dataframe is the original dataframe containing all IDs, The second dataframe contains only those IDs to be removed.

remove_save(x, remove, output.dir = NULL, output.file = NULL,
  id = "Subject")

Arguments

x

dataframe

remove

the dataframe that contains subjects to be removed

id

Column name containing Subject IDs.

output

folder directory path to save removed data

Examples

remove_save(data, remove = data_remove, save = "data/remove", taskname = "Flanker")
#> Error in remove_save(data, remove = data_remove, save = "data/remove", taskname = "Flanker"): unused arguments (save = "data/remove", taskname = "Flanker")