Closed fssem1 closed 5 years ago
Might be better to move to gather and spread in tidyverse.
https://github.com/commfish/coho_known_age_study/blob/da03a47cbb4118d0c855c965eae07e01df123e86/code/LDA_JTP_DataImport.R#L50
It is. I couldn't find a simple way to use tidyr to sum while using spread. If that's worth spending the extra time, I can do that.
OK I found a workaround. Much simpler than I anticipated. Closing issue now.
Might be better to move to gather and spread in tidyverse.
https://github.com/commfish/coho_known_age_study/blob/da03a47cbb4118d0c855c965eae07e01df123e86/code/LDA_JTP_DataImport.R#L50