scaleSeries {neuroim} | R 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
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.
Usage
scaleSeries(x, center, scale)
## S4 method for signature 'BrainVector,logical,logical'
scaleSeries(x, center, scale)
## S4 method for signature 'BrainVector,missing,logical'
scaleSeries(x, center, scale)
## S4 method for signature 'BrainVector,missing,missing'
scaleSeries(x, center, scale)
## S4 method for signature 'BrainVector,logical,missing'
scaleSeries(x, center, scale)
Arguments
x |
a four dimensional image |
center |
a |
scale |
a |
Examples
bvec <- BrainVector(array(rnorm(24*24*24*24), c(24,24,24,24)), BrainSpace(c(24,24,24,24), c(1,1,1)))
res <- scaleSeries(bvec, TRUE, TRUE)
[Package neuroim version 0.0.6 Index]