I\'m creating a basic function that runs a while loop and an if statement for an R class and am looking for help.
I don\'t want to overcomplicate things, so I\'d pref