duplicates_remove: Remove duplicate subjects from an edat file

View source: R/duplicates_remove.R

duplicates_removeR Documentation

Remove duplicate subjects from an edat file

Description

This function removes duplicate subject files from an E-Merge txt file

Usage

duplicates_remove(
  x,
  timing.variables = c("SessionDate", "SessionTime"),
  subj.variable = "Subject",
  taskname = "",
  output.folder = ""
)

Arguments

x

Imported E-Merge txt file

timing.variables

Variable name in file that corresponds to the session date and time

subj.variable

Name of varaible with Subject information

taskname

name of task for saving output file

output.folder

Folder path to output the duplicate file to

Examples

duplicates_remove(x, subset = c(colnames(x)), context = "Subject")

dr-JT/datawrangling documentation built on June 25, 2022, 7:47 p.m.