SpaCE-Lab-MSU / warmXtrophic

This repository contains R scripts that organize, analyze, and plot data from the long term Warming X Trophic Interactions experiment at Kellogg Biological Station and University of Michigan Biological Station (UMBS).
Other
0 stars 0 forks source link

either plot-level summary or species-plot level in final_greenup_L1.csv #13

Closed plzmsu closed 1 year ago

plzmsu commented 3 years ago

@dobsonk2 @billspat Here: https://github.com/SpaCE-Lab-MSU/warmXtrophic/blob/17dcb1aec21c4cae737d6ef779ade8b98e2bbe9c/scripts/plant_comp_scripts/plant_comp_clean_L0.R#L130

Both plot-level and species-level summaries (L1 datasets) are now in same dataframe as a L2 dataset. This can be problematic if you don't omit duplicates before analyzing plot-level. Ideally, each L1 dataframe should be a single resolution (either plot-level summary or species-plot level summary). I think this gets back to how we define L1 and L2. I'm fixing this in greenup_analysis.Rmd for now.

dobsonk2 commented 3 years ago

@plzmsu I was wondering about this too - I was thinking of just re-organizing the data set down to the single plot-level measurements for analyses when I wasn't interested in the species-level data. I think it might be easier to have them in separate dataframes though, less re-analyzing!