nmedina17 / osa

Code for: Habitat edges affect tree diversity more than biomass regeneration in a wet neotropical secondary forest
MIT License
0 stars 0 forks source link

nestsum #2

Closed nmedina17 closed 3 years ago

nmedina17 commented 3 years ago

wanting to try using 'tidyr::nest()' to run a basic linear regression for all collected variables, but table structure from 'rstatix::get_summary_stats()' is different (maybe already a bit nested). solving this would really shorten the data exploration phase, since the regression models would all have the same independent variable--distance to forest. potentially efficient!

nmedina17 commented 3 years ago

figured it out--need to summarize at plot level first, then nest by variables that are already in tidy format.