Right now, the code is very repetitive. I made a bunch of suggestions on how to streamline it and also organize and follow our recommendations. I don't have the data, so it's very likely the code will not run. I had two more comments that are not in issues or in the suggestions:
There seems to be no folder structure to the files right now
There is a line on the code that sets color = NA. I don't know what this is supposed to be doing, but it doesn't seem right to me.
Right now, the code is very repetitive. I made a bunch of suggestions on how to streamline it and also organize and follow our recommendations. I don't have the data, so it's very likely the code will not run. I had two more comments that are not in issues or in the suggestions:
color = NA
. I don't know what this is supposed to be doing, but it doesn't seem right to me.