Learn R Programming

aSPC (version 0.1.2)

aSPC_dcor2: An Adaptive Sum of Powered Correlation Test (aSPC) with dcor

Description

An Adaptive Sum of Powered Correlation Test (aSPC) with dcor

Usage

aSPC_dcor2(df1, df2, pow = pow, B = B)

Arguments

df1,
first matrix
df2,
second matrix
pow,
power integer candidates, default c(1:8, Inf)
B,
number of permutations to calculate a P-value

Value

the P-values of SPC and aSPC tests

References

Xu Z., Pan W. An adaptive and powerful test for two groups of variables with high dimension