R/hctest.R

Defines functions hctest

Documented in hctest

hctest <-
function(x, res)
{
   n <- length(x)
   stopifnot(n==length(res) && n>2)
   indjx <- order(x)
   resx <- res[indjx]
   cor.test(resx[-1], resx[-n], method="kendall")$p.value  
 }

Try the hcc package in your browser

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

hcc documentation built on May 2, 2019, 2:08 a.m.