meanmat.ts.generic <- function(datamat, N, projmat, voi) {
if (voi == "columns")
datamat <- transposedatamatrix(datamat, N)
datamat <- projmat %*% datamat
test_stats <- meanmatts_statistics(datamat, N)
ans <- test_stats[1] / sqrt(2 * test_stats[2] / N / (N - 1))
ans
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.