E4.Acc_Process.Part1b_Filter_ConvertAcc: EDA Processing Part 1: Extract and filter EDA data This...

Description Usage Arguments Examples

Description

EDA Processing Part 1: Extract and filter EDA 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.Part1b_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.Part1b_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=""))

ekleiman1/E4tools documentation built on July 1, 2019, 9:39 a.m.