R/testfunc.DiM.R

Defines functions `testfunc.DiM`

`testfunc.DiM` <-
function(choplist,SM){
    ZM<-choplist$ZM
    a<-choplist$a
    b<-choplist$b
    Z<-c(rep(0,a),rep(1,b),ZM)
    S<-c(rep(0,a+b),SM)
    ## in order to have the direction be the same 
    ## as wilcox.test use -TDiM
    return( -TDiM(S,Z) ) 
}

Try the choplump package in your browser

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

choplump documentation built on May 9, 2022, 5:08 p.m.