title: R for loop skip to next iteration ifelse
body: <p>Suppose you have a for loop like so</p>
  
  <pre><code>for(n in 1:5) {
    #if(n=3) # skip 3rd iteration and go to next iteration
    cat(n)
  }
  </code></pre>
  
  <p>How would one skip to the next iteration if a certain condition is met?</p>