Si una condición es verdadera, saltar bucle r
for(n in 1:5) {
if(n==3) next # skip 3rd iteration and go to next iteration
cat(n)
}
Trustworthy Whale
for(n in 1:5) {
if(n==3) next # skip 3rd iteration and go to next iteration
cat(n)
}