mine_compute_pstats: Compute pairwise statistics (MIC and normalized TIC) between...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

For each statistic, the upper triangle of the matrix is stored by row (condensed matrix). If m is the number of variables, then for i < j < m, the statistic between (col) i and j is stored in k = m*i - i*(i+1)/2 - i - 1 + j. The length of the vectors is n = m*(m-1)/2.

Usage

1
mine_compute_pstats(x, alpha = 0.6, C = 15, est = "mic_approx")

Arguments

x

Numeric matrix of m-by-n of n variables and m samples

alpha

alpha parameter for the mine statistic

C

c parameter for the mine statistic

est

estimation parameter for the mine statistic

Value

Matrix (n x (n-1)/2) by 4. The first and second column indicate the indexes relative of the columns in the inut matrix the statistic is computed for. Column 3 contains the MIC statistic, while column 4 contains the normalized TIC statistic.


minerva documentation built on Dec. 14, 2018, 5:04 p.m.