R/modulo.r

Defines functions modulo

modulo <- function(x,y){
  
  mod <- x%%y
  
  if(mod == 0){mod1 <- y}
  if(mod != 0){mod1 <- mod}
  
  return(mod1)
}

Try the LSAfun package in your browser

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

LSAfun documentation built on Nov. 18, 2023, 1:10 a.m.