chanNb: Find channel neighbours

Description Usage Arguments Value

View source: R/chan_pos.R

Description

chanNb finds neighbouring channels

Usage

1
chanNb(ch_pos, check_alpha = c(0.1, 10), alpha = NULL, ...)

Arguments

ch_pos

a data.frame of electrode positions, see coordinates

check_alpha

a two-element numeric vector defining the range which is supposed to contain the optimal value of alpha

alpha

a numeric value which influences the allowed distance between neighbouring electrodes; if other than NULL (the default), check_alpha is ignored

...

parameters to sph2cart

Value

An electrode neighbourhood matrix


tdeenes/eegR documentation built on April 19, 2021, 4:17 p.m.