corTs {DGM} | R Documentation |
Mean correlation of time series across subjects.
corTs(ts)
ts |
a 3D time series time series x nodes x subjects. |
M correlation matrix.
# create some sample data with 200 samples,
# 5 nodes, and 2 subjects
ts = array(rnorm(200*5*2), dim=c(200,5,2))
M = corTs(ts)