GetPairs: GetPairs

View source: R/PulseWaveform.R

GetPairsR Documentation

GetPairs

Description

GetPairs is an ISO analysis specific function. It is used to identify and order the four data files per participant in the ISO dataset, arranding them into two pairs of 'isoprenaline' time series and 'saline' time series.

Usage

GetPairs(direc, run_order, participant_number, subjectID)

Arguments

direc

the directory for an individual participant in the ISO dataset

run_order

the order of infusions given during the ISO study protocol

participant_number

the individual participant number for a given participant

subjectID

the participant ID as coded in the ISO study data files

Value

pairs

list of two vectors, each vector containing one ISO time series and one Saline time series

Examples

pairs <- GetPairs(direc = direc[1], run_order, participant_number = run, subjectID = direc[2])










stw32/PulseWaveform documentation built on Dec. 6, 2022, 2:50 a.m.