View source: R/import_data_permuco.R
This function build a list containing each individual's average signal and transforms it into a 3D matrix to be analyzed with the brainperm() function from the permuco4brain package. For this function to work you will need to install the readr package and the abind package
1  | import_data_permuco(path, N_electrodes, files_extension)
 | 
path | 
 path to the folder containing the averaged signal per subjects and condition (tip: name the files wisely)  | 
N_electrodes | 
 Number of electrodes included in the montage: either 128 or 64  | 
files_extension | 
 Format of the files needed to be imported. Supported format are ".ep", ".txt", ".asc".  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.