scale_series-methods: Generic functions to scale (center and/or normalize by...

scale_seriesR Documentation

Generic functions to scale (center and/or normalize by standard deviation) each series of a 4D image That is, if the 4th dimension is 'time' each series is a 1D time series.

Description

Implementation of scale_series for NeuroVec objects. See scale_series for the generic definition and complete documentation.

Implementation of scale_series for NeuroVec objects. See scale_series for the generic definition and complete documentation.

Implementation of scale_series for NeuroVec objects. See scale_series for the generic definition and complete documentation.

Implementation of scale_series for NeuroVec objects. See scale_series for the generic definition and complete documentation.

Usage

scale_series(x, center, scale)

## S4 method for signature 'NeuroVec,logical,missing'
scale_series(x, center, scale)

## S4 method for signature 'NeuroVec,logical,logical'
scale_series(x, center, scale)

## S4 method for signature 'NeuroVec,missing,logical'
scale_series(x, center, scale)

## S4 method for signature 'NeuroVec,missing,missing'
scale_series(x, center, scale)

Arguments

x

A NeuroVec object

center

Logical indicating whether to center

scale

Logical indicating whether to scale

Value

Scaled NeuroVec object

Scaled NeuroVec object

Scaled NeuroVec object

Scaled NeuroVec object

See Also

scale_series

scale_series

scale_series

scale_series

Examples

bvec <- NeuroVec(array(rnorm(24*24*24*24), c(24,24,24,24)), NeuroSpace(c(24,24,24,24), c(1,1,1)))
res <- scale_series(bvec, TRUE, TRUE)

bbuchsbaum/neuroim2 documentation built on Jan. 2, 2025, 3:38 p.m.