validate_channels: Chan_info checker

View source: R/channel_management.R

validate_channelsR Documentation

Chan_info checker

Description

Performs several checks on the structure of channel info: 1) Checks that "electrode" is character, not factor. 2) rounds any numeric values to 2 decimal places. 3) Checks for any missing channels in the chan_info if signal names are supplied; populates them with NA if it finds any.

Usage

validate_channels(chan_info, sig_names = NULL)

Arguments

chan_info

A channel info structure

sig_names

signal names from eegUtils signals


craddm/eegUtils documentation built on March 24, 2022, 9:17 a.m.