Description Usage Arguments Examples
Accelerometer Processing Part 2: Extract and filter accelerometer data This function will allow you to filter acceleromter data (based on the EDA signal) and add metrics like g and the normalized Euclidian distance from origin vector.
1 2 | E4.Acc_Process.part2.Filter_ConvertAcc(participant_list, rdslocation.EDA,
rdslocation.acc, rdslocation.acc_filtered)
|
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") |
rdslocation.EDA |
folder location where the RDS files from the first step of the EDA processing are (make sure that it ends in /) |
rdslocation.acc |
folder location where the RDS files from the first step of the accelerometer processing are |
rdslocation.acc_filtered |
folder location where you want the filtered acc files to go. |
1 2 3 4 5 6 7 | E4.Acc_Process.part2.Filter_ConvertAcc(participant_list=c(1001),
rdslocation.EDA=paste(system.file(package="E4tools"),
"/extdata/output/raw_EDA/",sep=""),
rdslocation.acc=paste(system.file(package="E4tools"),
"/extdata/output/raw_acc/",sep=""),
rdslocation.acc_filtered=paste(tempdir(),
"/extdata/output/filtered_acc/",sep=""))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.