Description Usage Arguments Details Value Author(s) Examples

Internal function for `mass.t.test`

, used in cluster based permutation to form clusters.

1 | ```
spatial_neighbours(chanlocs, max_dist, head_radius=NULL)
``` |

`chanlocs` |
channel locations |

`max_dist` |
maximum distance between electrodes to consider they are neighbours |

`head_radius` |
default is NULL |

This is an R translation of spatial_neighbours.m function in MASS univariate toolbox

An electrodes by electrodes matrix with channel neighbours (1 = neighbouring, 0 = not neighouring).

Giorgio Arcara

1 2 3 4 | ```
# NO EXAMPLES
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.