Erin-Rooney / Y1_fairbanks

Permafrost and Periglacial Processes Special Issue publication "Topography and canopy cover influence soil carbon composition and distribution across a forested hillslope in the discontinuous permafrost zone"
0 stars 0 forks source link

Relabund aov function issue #4

Closed Erin-Rooney closed 2 years ago

Erin-Rooney commented 2 years ago

@kaizadp

I can't figure out why this code isn't working.

https://github.com/Erin-Rooney/Y1_fairbanks/blob/caf72b42d0ece33d25a5068827b2a247be1c19c7/code/fticr-3-relabund.R#L159-L163

Error: Error in aov(relabund ~ cover_type, data = dat) %>% broom::tidy() %>% : attempt to apply non-function

Erin-Rooney commented 2 years ago

@kaizadp This issue is still giving me trouble.

kaizadp commented 2 years ago

https://github.com/Erin-Rooney/Y1_fairbanks/blob/caf72b42d0ece33d25a5068827b2a247be1c19c7/code/fticr-3-relabund.R#L127-L140

replace the NULL at the end with force()

Erin-Rooney commented 2 years ago

UGHGHHGHGH. Yep. It works now. Thank you. I am going to make another issue for the XRD diffractogram disaster.