MissDimPerId {voiceR} | R Documentation |
What IDs have missing dimensions?
Description
Indicates whether and which dimensions are missing for each ID.
Usage
MissDimPerId(
path = ".",
audioList = NULL,
ids = c(),
fileType = "wav",
fileNamePattern = "ID_Condition_Dimension",
sep = "_",
recursive = FALSE
)
Arguments
path |
Character string indicating the path to the folder containing the audio files. Default corresponds to the current working directory. |
audioList |
Optional list with Wave objects to analyze. |
ids |
Character vector indicating the IDs of the files. |
fileType |
Character string indicating the file format (wav or mp3) of the audio files. Default corresponds to wav. |
fileNamePattern |
Character string indicating the naming format of the audio files, such as "ID-Condition-Dimension", "Condition_ID_Dimension" or "ID". Default corresponds to "ID_Condition_Dimension". |
sep |
A non alpha-numeric that acts as separator between the different naming components. Default corresponds to underscore. |
recursive |
A logical value indicating whether subdirectories should be included when searching for voice files. Default corresponds to FALSE. |
Value
A data.frame, in which rows represent IDs and columns represent missing vs. present Dimensions.
Examples
MissDimPerId(audioList = testAudioList)