E4.Acc_Process.part2.Filter_ConvertAcc: Accelerometer Processing Part 2: Extract and filter...

Description Usage Arguments Examples

Description

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.

Usage

1
2
E4.Acc_Process.part2.Filter_ConvertAcc(participant_list, rdslocation.EDA,
  rdslocation.acc, rdslocation.acc_filtered)

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")

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.

Examples

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=""))

E4tools documentation built on July 7, 2019, 5:02 p.m.