pairwise_c_chisq: Calculate C-chisq

pairwise_c_chisqR Documentation

Calculate C-chisq

Description

pairwise_c_chisq returns the pairwise C-score using the chi-square approach. Setting na.rm = T assumes that missing values are true negatives.

Usage

pairwise_c_chisq(input, num_permute = 10000, na.rm = F)

Arguments

input

numeric array

num_permute

numeric

na.rm

boolean

Value

length-one numeric

Examples

array1 <- array (0,c(5000,20))
array1[cbind(1:20,1:20)] <- 1
array1[1:5,1:3] <- 1
array1[6:10,4:6] <- 1
pairwise_c_chisq (array1)


samyeaman/dgconstraint documentation built on July 25, 2022, 4:36 a.m.