R/doMYBUTTS.R

Defines functions `doMYBUTTS`

`doMYBUTTS` <-
function(butt="",clicks=NULL, x=NULL)
  {

    print(paste(sep=' ', "Hi there you dummy", butt))
    print(clicks)
    
    if(identical("MED", butt) )
          {
            print(median(x))
          }
    if(identical("AVE", butt) )
          {
            print(mean(x))
          }
    if(identical("MIN", butt) )
          {
            print(min(x))
          }

    
  }

Try the RSEIS package in your browser

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

RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.