powered by
Scaling data. Zero centers and scales the nodes (SD=1).
scaleTs(X)
time x node 2D matrix, or 3D with subjects as the 3rd dimension.
S centered and scaled matrix.
# NOT RUN { # create some sample data ts = array(rnorm(200*5, mean=5, sd=10), dim=c(200,5)) ts = scaleTs(ts) # }
Run the code above in your browser using DataLab