View source: R/getComponents.R
getComponents | R Documentation |
Indicates the presence and order in which components are retrieved from the file name of each recording.
getComponents(fileNames, fileNamePattern = "ID_Condition_Dimension", sep = "_")
fileNames |
A character vector of audio file names. |
fileNamePattern |
A 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. |
A list, containing a vector of positions for each component and a data.frame containing the values for each component of the audio files.
getComponents(names(testAudioList), fileNamePattern = "ID_Condition_", sep = "_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.