import_data_permuco: A function to prepare the signal's data for the brainperm...

Description Usage Arguments

View source: R/import_data_permuco.R

Description

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

Usage

1
import_data_permuco(path, N_electrodes, files_extension)

Arguments

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".


EricMenetre/NPL documentation built on June 23, 2021, 2:10 p.m.