R/MgTalk.R

MgTalk <- function(x,y){
  if (y>100){
    if (x %in% seq(0,y,100)) message(x)
  }
  else{
    if (y>10){
      if (x %in% seq(0,y,10)) message(x)
    }
    else
      if (y>1)
        message(x)
  }
}

Try the ModelGood package in your browser

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

ModelGood documentation built on May 2, 2019, 3:02 a.m.