R/calcM.R

Defines functions calcM

Documented in calcM

# Calculate variable lengths
calcM = function(ub, ...){
  nx = length(ub)
  M = c()
  for(i in 1:nx)
    M = c(M, length(int2bin(ub[i])))
  return(M)
}

Try the adana package in your browser

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

adana documentation built on March 18, 2022, 6:03 p.m.