R/equalityCorrelationsTestByRows.r

Defines functions eqCorTestByRows

Documented in eqCorTestByRows

eqCorTestByRows <- function(D1, D2 = NULL, testStatistic = c("AS", "max"), nite = 200, 
							paired = FALSE, exact = TRUE, whichRows = NULL, conf.level = 0.95,...)
{ 
  
  ## checks
  testStatistic <- controlseqCorTestByRows(D1 = D1, D2 = D2, testStatistic = testStatistic, 
  		nite = nite, paired = paired, conf.level = conf.level)
  		  
  ## Functions
  if(is.null(D2))
   obj <- correlationTest.byRows(D1, testStatistic = testStatistic, nite = nite,
   								 whichRows = whichRows, conf.level = conf.level,...)
  else
   obj <- eqCorrelationTest.byRows(D1 = D1, D2 = D2, testStatistic = testStatistic,
  								   nite = nite, paired = paired, exact = exact,
  								   whichRows = whichRows,conf.level = conf.level,...)
  
  class(obj) <- "eqCorTestByRows"
  return(obj)
}

Try the ldstatsHD package in your browser

Any scripts or data that you put into this service are public.

ldstatsHD documentation built on Aug. 14, 2017, 5:06 p.m.