Learn R Programming

E4tools (version 0.1.1)

E4.Step0.FileHelper: Set global file locations to make other functions easier

Description

This function will allow you to pre-define file locations that are used in multiple functions so you only have to type them once and so that your folder structure will be well-organized.

Usage

E4.Step0.FileHelper(participant_list, ziplocation, dataroot)

Arguments

participant_list

list of participant numbers NOTE: This should match the names of the folders (e.g., participant 1001's data should be in a folder called "1001")

ziplocation

folder location where the participant-level subfolders are (make sure that it ends in /)

dataroot

folder where you want your data to be stored.

Examples

Run this code
# NOT RUN {
E4.Acc_Process.Part1.ExtractRawAcc(participant_list=c(1001:1002),
ziplocation="~/documents/study/data/",
rdslocation.acc="~/documents/study/data/acc/")
# }

Run the code above in your browser using DataLab