I am trying to perform a for loop simulation in R. Below is a description of what I am trying to accomplish:
Loop over every individual and randomly assign a