spatial_neighbours: calculate spatial neighbours.

Description Usage Arguments Details Value Author(s) Examples

Description

Internal function for mass.t.test, used in cluster based permutation to form clusters.

Usage

1
spatial_neighbours(chanlocs, max_dist, head_radius=NULL)

Arguments

chanlocs

channel locations

max_dist

maximum distance between electrodes to consider they are neighbours

head_radius

default is NULL

Details

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

Value

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

Author(s)

Giorgio Arcara

Examples

1
2
3
4
  
# NO EXAMPLES
  
  

erpR documentation built on June 7, 2019, 3 a.m.