scale_series | 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.
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)
x |
a four dimensional image |
center |
a |
scale |
a |
An object of the same class as x
, with each time series centered and/or scaled.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.