I am having a lot of trouble doing loops in R, as the various lines are extremely confusing to me. I\'m very new to coding, but would like to know how to do loops in R. Is t