R/temp/especov.R

Defines functions especov

especov <- function(thres1,thres2,ncat,r,C){

  sum <- 0
  ncat1 <- ncat[1]

  for (i in 1:ncat1){
    for (j in 1:ncat1){
      tmp <- i * j * C[i,j]
      sum <- sum + tmp
    }
  }

  espcov <- sum
  return(espcov)
}

Try the ORIONZ.G package in your browser

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

ORIONZ.G documentation built on Sept. 11, 2024, 6:13 p.m.