R/CN.R

Defines functions CN

Documented in CN

CN <-
function(X){
  X = as.matrix(X)
  X = lu(X)
  XX = crossprod(X)
  landas = eigen(XX)[[1]]
  nc = sqrt(max(landas)/min(landas))
  return(nc)
}

Try the multiColl package in your browser

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

multiColl documentation built on July 21, 2022, 9:06 a.m.