R/ij.R

Defines functions ij

#ij conversion
ij = function(index,m){
  i = (index-1) %% m + 1
  j = floor((index-1)/m) + 1
  return (c(i,j))
}
rwang14/implant documentation built on Dec. 5, 2019, 8:41 a.m.