mercredi 1 mars 2017

In R programming can we have if inside for loop

In R programming can we have if inside for loop

for(i in 1:length(abc)){
  print(i)
  if(){}
}

this code is giving error I don't know why

Aucun commentaire:

Enregistrer un commentaire