I am trying to assign the factor output of a for loop to a variable named after the index i.
My data \'dat\' has five variables: str(dat)
str(dat)