corrmat_block: Block Correlation Matrix

Description Usage Arguments Value

View source: R/correlationMatrices.R

Description

Returns a function that itself returns a p x p matrix with blocksize blocks. Note that the blocksize should fit the matrix, i.e., mod(p, blocksize) should be 0

Usage

1
corrmat_block(p, rho, blocksize, ...)

Arguments

p

matrix size

rho

controls the correlation strength

blocksize

the size of the blocks.

Value

function that returns a block matrix


bips-hb/simsham documentation built on Dec. 19, 2021, 9:48 a.m.