E4.Acc_Process.part2.Filter_ConvertAcc {E4tools}R Documentation

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.

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

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

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

[Package E4tools version 0.1.1 Index]