
Last chance! 50% off unlimited learning
Sale ends in
# Example usage:
set.seed(123)
p <- 100 # Number of variables
n1 <- 20 # Sample size for X
n2 <- 20 # Sample size for Y
X <- matrix(rnorm(n1 * p), nrow = p, ncol = n1)
Y <- matrix(rnorm(n2 * p, mean = 0.5), nrow = p, ncol = n2)
result <- CLX(X, Y, alpha = 0.05)
print(result)
Run the code above in your browser using DataLab