scaleChan: Scale channels

Description Usage Arguments Value

View source: R/erp_preprocess.R

Description

scaleChan normalizes the data across channels so that for each sampling point, the mean of the channel amplitudes is zero and the standard deviation is one.

Usage

1
scaleChan(dat, keep_dimorder = TRUE)

Arguments

dat

numeric matrix or array with names dimensions, one of which must be "chan"

keep_dimorder

logical value; if TRUE (default), the order of the dimensions is kept intact, otherwise the channel dimension will be the first dimension in the resulting matrix or array

Value

A numeric matrix or array


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