How to loop through groups in a dataframe and apply multiple functions [closed]
I have an experimental design with 4 treatments: ambient (control), drought, warmed, and warmed & drought. I sampled these treatments 4 times: pre-drought, peak drought, post drought, and recovery. I want to calculate resistance and resilience of the soil microbial communities in these treatments. I want to use the ambient treatment as the control. In other words, I want to compare the other treatments to ambient at peak and recovery time points. Alternatively, I could also use the pre-drought as the control. In other words, I could compare each treatment at peak and recovery to what that trea
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.