filterCovariance {bahc} | R Documentation |
Compute the BAHC covariance matrix.
Description
Compute the BAHC covariance matrix.
Usage
filterCovariance(x, k = 1, Nboot = 100)
Arguments
x |
A matrix: |
k |
The order of filtering. |
Nboot |
The number of bootstrap copies |
Value
The BAHC-filtered correlation matrix of x
.
Examples
r=matrix(rnorm(1000),nrow=20) # 20 objects, 50 features each
sigma=exp(runif(20))
rs=t(sigma %*% r) %*% sigma
Cov_bahc=filterCovariance(rs)
[Package bahc version 0.3.0 Index]