For example, there are two formulas for calculating a.
a <- d + 1
a <- e + 3
In a loop, At first, I use the first formula. When a condition satisfied, I want to use the second formula and don't use the first formula in r.
Is there a way to inactive the first formula and use second formula in a loop?
Aucun commentaire:
Enregistrer un commentaire