2017-03-15 63 views
3

我必須使用eegkit包來分析R上的一些EEG數據(腦電圖)。想用R讀取.eeg文件

這些文件的格式是.eeg。任何人都知道如何用R讀取這些文件?

感謝

回答

0

貌似geteegdata會做這項工作。

這裏是關於它的更多信息:

使用

geteegdata(indir,outdir=indir,cond=c("S1","S2m","S2n"),nt=NULL, filename="eegdata",filetype=c(".rda",".csv",".txt")) 

Arguments 
indir Input directory (containing EEG data source folders). 
outdir Output directory (to save EEG data matrix file). 
cond Condition to read-in: S1=single stimulus, S2m=two matching stimuli, S2n=two 
non-matching stimuli. 
nt Number of trials to read-in for each subject (default is all trials). 
filename Name for EEG data matrix (default eegdata). 
filetype Type of file to save (default is R data file .rda). 

https://cran.r-project.org/web/packages/eegkitdata/eegkitdata.pdf