Remaining Analyses Part 13
Triple-nested for loops are not fun
As I mentioned in a previous post, Steven suggested I create a table with information about the peptide vs. biomarker regressions I did. I was trying to do that using a three for loops nested within eachother.
It did not go well.
When I was talking with Sam today, he suggested I break the nested for loops. Instead, he thought I should save all of the regression information into a new table, and then reformat that information into the table I wanted to save. That was the right idea! The code can be found in this R Script, or below.
The table I produced can be found here.
My next steps are to (finally) quality control my data, remake pH, DO and salinity plots, make a table of important environmental variables, and do something with the growth data. Oh, and write I guess.
…can you tell I’m a bit tired of this yet?