corTs {DGM}R Documentation

Mean correlation of time series across subjects.

Description

Mean correlation of time series across subjects.

Usage

corTs(ts)

Arguments

ts

a 3D time series time series x nodes x subjects.

Value

M correlation matrix.

Examples

# 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)


[Package DGM version 1.7.4 Index]