R/cqTest.R

Defines functions cqTest

Documented in cqTest

#' Chen-Qin Test
#'
#' @param x Data set 1.
#' @param y Data set 2.
#' 
#' @importFrom highD2pop ChenQin.test
#'
#' @return Chen-Qin statistic for different mean vectors.
#' @export

cqTest <- function(x, y) {
  highD2pop::ChenQin.test(as.matrix(x), as.matrix(y))[[1]]
}
whitneyworley/HighDim2Means documentation built on Oct. 17, 2019, 9:40 p.m.