R/contiteor.R

Defines functions contiteor

Documented in contiteor

contiteor<-function(thres1,thres2,ncat,r){

  TMP1 <- normalbi(thres1,thres2,ncat,r)
  TMP2 <- transpose(TMP1)

  ncat1 <- ncat[1]
  tope <- ncat1 + 1
  Ct <- matrix(0,ncat1,ncat1)

  for (i in 1:ncat1){
    for (j in 1:ncat1){
      Ct[i,j] <- TMP2[i,(tope - j)]
    }
  }
  Ct <- transpose(Ct)

}

Try the SINRELEF.LD package in your browser

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

SINRELEF.LD documentation built on June 22, 2024, 9:14 a.m.