vendredi 27 septembre 2019

how to skip executing several lines with if clause in R

how to skip executing several lines of codes if a condition in IF statement is met. Condition happens occasionally so whenever it happens we need to skip executing several lines of codes, for example:

 if ( op=='A) {

     #skip doing everything here }
{

  #some line of codes which will be run in any condition

or is it possible to do it using while or for loops ?

Aucun commentaire:

Enregistrer un commentaire