<p>For the sake of completeness:</p>

<ol>
<li><p>eegkit, see <a href="https://cran.r-project.org/web/packages/eegkit/index.html" rel="nofollow noreferrer">https://cran.r-project.org/web/packages/eegkit/index.html</a></p></li>
<li><p>For "historical purposes" perhaps the following could also be of interest, although development seems somewhat stagnant lately: <a href="https://rdrr.io/cran/eegAnalysis/" rel="nofollow noreferrer">https://rdrr.io/cran/eegAnalysis/</a></p></li>
</ol>

CC BY-SA 4.0
2019-02-06T23:19:26.637Z
2019-02-06T23:19:26.637Z
Tiberius
<p>I was searching for alternative when I fell on this post. Here are a few others</p>
<p><a href="https://github.com/craddm/eegUtils" rel="nofollow noreferrer">eegUtils</a> , the same author has a blog that might be of interest to you for further reading <a href="https://craddm.github.io/tags/eeg" rel="nofollow noreferrer">here</a></p>
<p>I also found <a href="https://rdrr.io/cran/eegAnalysis/man/eegAnalysis-package.html" rel="nofollow noreferrer">eegAnalysis</a> but the last update was in 2014</p>
<p>Finally for ERPs there is <a href="https://cran.csiro.au/web/packages/erpR/erpR.pdf" rel="nofollow noreferrer">erpR</a></p>

CC BY-SA 4.0
2019-01-16T01:32:05.260Z
2020-09-21T14:22:40.330Z
2020-09-21T14:22:40.330Z
Patrick
<p>Antoine Tremblay has just released an advanced analysis toolbox: <a href="http://onlinelibrary.wiley.com/doi/10.1111/psyp.12299/abstract">http://onlinelibrary.wiley.com/doi/10.1111/psyp.12299/abstract</a></p>

<p>It's missing about half the features on your list, although fundamentally, spectral density is a simple task and LORETA is a stand-alone package anyways (although similar approaches, e.g. general CSD estimation, are implemented in many packages). Basically, once you got the EEG data read into R and cleaned of artifacts, ERPs (simple averaging) and spectra are fairly basic tasks and LORETA is an external toolbox agnostic of where it's getting its data from.</p>

<p>Alternatively, I would propose to use either one of the two standard MATLAB-based solutions (EEGLAB or Fieldtrip), or MNE in one of its iterations (e.g. the one in Python). All of these will handle the tasks you're talking about.</p>

CC BY-SA 3.0
2014-09-04T12:52:04.993Z
Thanks! Any suggestions on visualization?  Creating graph arrays for 24 channels of ERP or EEG can be very tedious, and I bet somebody's done it before.
Krysta
CC BY-SA 3.0
2014-09-04T14:41:26.853Z
Butterfly plots, as in fig. 2 in the paper; or means over ROIs and facet wrap ggplot over hemisphere and front/back.
jona
CC BY-SA 3.0
2014-09-03T22:27:15.870Z
2014-09-03T22:27:15.870Z
jona
<p>I'm starting some EEG studies on attention, and would really like to use R for preprocessing (filtering/artifact rejection), visualization, and analysis, but I can find very little in the way of tools. If there isn't a standalone package, what packages might be useful? </p>

<p>Things I want to do:</p>

<ul>
<li>Condition categorization according to events, and comparing all subsequent analyses by condition</li>
<li>Power spectral density in specific frequency bands (SMR, theta, beta, alpha, etc.)</li>
<li>Event-related potentials</li>
<li>LORETA (low-resolution electromagnetic tomography)</li>
</ul>

CC BY-SA 3.0
2014-09-03T20:31:42.080Z
Checkout the package listing:<br>
<a href="http://cran.rstudio.com/">http://cran.rstudio.com/</a>. It might help people to help you, if you clarify what you are trying to accomplish with R and EEG data.
Cbaker510
CC BY-SA 3.0
2014-09-03T22:09:05.003Z
Why do you want to use R?
jona
CC BY-SA 3.0
2014-09-04T12:53:19.350Z
Because the documentation & community is better for R than Matlab, and because I don't have to worry about budget for licenses on R.
Krysta
<measurement><methodology><eeg><statistics><data>
What tools are available for EEG analysis on the R platform?
Krysta
# What tools are available for EEG analysis on the R platform?

(Asked by: username_0 on 2014-09-03)

I'm starting some EEG studies on attention, and would really like to use R for preprocessing (filtering/artifact rejection), visualization, and analysis, but I can find very little in the way of tools. If there isn't a standalone package, what packages might be useful?

Things I want to do:

* Condition categorization according to events, and comparing all subsequent analyses by condition
* Power spectral density in specific frequency bands (SMR, theta, beta, alpha, etc.)
* Event-related potentials
* LORETA (low-resolution electromagnetic tomography)

**Tags:** measurement, methodology, eeg, statistics, data

> **Comments:**
> **username_1**: Checkout the package listing:<br> <a href="http://cran.rstudio.com/">http://cran.rstudio.com/</a>. It might help people to help you, if you clarify what you are trying to accomplish with R and EEG data.  
> **username_2**: Why do you want to use R?  
> **username_0**: Because the documentation & community is better for R than Matlab, and because I don't have to worry about budget for licenses on R.  

---

## 3 answers

### Answer by username_2 on 2014-09-03. Score: 13 | Accepted answer

Antoine Tremblay has just released an advanced analysis toolbox: <http://onlinelibrary.wiley.com/doi/10.1111/psyp.12299/abstract>

It's missing about half the features on your list, although fundamentally, spectral density is a simple task and LORETA is a stand-alone package anyways (although similar approaches, e.g. general CSD estimation, are implemented in many packages). Basically, once you got the EEG data read into R and cleaned of artifacts, ERPs (simple averaging) and spectra are fairly basic tasks and LORETA is an external toolbox agnostic of where it's getting its data from.

Alternatively, I would propose to use either one of the two standard MATLAB-based solutions (EEGLAB or Fieldtrip), or MNE in one of its iterations (e.g. the one in Python). All of these will handle the tasks you're talking about.

> **Comments:**
> **username_0**: Thanks! Any suggestions on visualization?  Creating graph arrays for 24 channels of ERP or EEG can be very tedious, and I bet somebody's done it before.  
> **username_2**: Butterfly plots, as in fig. 2 in the paper; or means over ROIs and facet wrap ggplot over hemisphere and front/back.  

---

### Answer by username_3 on 2019-02-06. Score: 3

For the sake of completeness:

1. eegkit, see <https://cran.r-project.org/web/packages/eegkit/index.html>
2. For "historical purposes" perhaps the following could also be of interest, although development seems somewhat stagnant lately: <https://rdrr.io/cran/eegAnalysis/>


---

### Answer by username_4 on 2019-01-16. Score: 3

I was searching for alternative when I fell on this post. Here are a few others

[eegUtils](https://github.com/craddm/eegUtils) , the same author has a blog that might be of interest to you for further reading [here](https://craddm.github.io/tags/eeg)

I also found [eegAnalysis](https://rdrr.io/cran/eegAnalysis/man/eegAnalysis-package.html) but the last update was in 2014

Finally for ERPs there is [erpR](https://cran.csiro.au/web/packages/erpR/erpR.pdf)


---

