packrat/lib/x86_64-apple-darwin15.6.0/3.6.0/XML/examples/writeExamples.S

foo <- 
function(x= 10, b="asd") { 
 if(x) 
  1 
 else if(T) 
        2 
      else 4
}

bar <- 
function(x)
{
 for(i in 1:length(x)) {
    print(x[[i]])
 }

 return(T)
}

single <-
function(x)
  T


While <-
function()
{
 while(f(x)) {
   print(f(x))
   break
 }

 repeat {
   x <- x + 1
   break
 }
}

Logic <-
function()
{
  if(x < 1 && y > 10) {
     x | y & z
  }
}
adnaniazi/krauseNiazi2019Analyses documentation built on June 9, 2019, 7:22 p.m.