dist2bin {M2SMF}R Documentation

Calculate the agreement-based measurement

Description

Calculate the agreement-based measurement of two any pair-wise samples x_i and x_j for binary variables

Usage

dist2bin(X, C)

Arguments

X

A sample-feature matrix with rows as samples and columns as features

C

The same as X

Value

A matrix whose elements at (i,j) is the agreement-based measurement of two any pair-wise samples x_i and x_j

Author(s)

Xiaoyao Yin

Examples


data_list <- simu_data_gen()
X <- data_list[[1]]
C <- X
Diff <- dist2bin(X,C)

[Package M2SMF version 2.0 Index]