mean_expected: Constructs Toeplitz matrix with means on diagonals...

Description Usage Arguments Value See Also Examples

Description

Constructs Toeplitz matrix with means on diagonals (calculated as arithmetic mean of diagonal).

Usage

1
mean_expected(dense.mtx)

Arguments

dense.mtx

matrix in dense format

Value

numerical dense matrix where all entries on i-th diagonal contain mean of i-th diagonal

See Also

toeplitz for more information about toeplitz matrices

Examples

1
2
3
4
mtx1 <- toeplitz(c(1,2,3,4))
mean_expected(mtx1)
mtx2 <- matrix(1:16, ncol = 4)
mean_expected(mtx2)

rz6/CopulaHiC documentation built on Dec. 31, 2019, 9:19 a.m.