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

function doesn't work in CN cleaning script #20

Closed moriahy closed 3 years ago

moriahy commented 3 years ago

I'm working on the CN_clean_L1.R script and when I run the function on line 28, it appears to work, but when I go to use the function to clean the data, starting on line 41, I get this error:

Error in [.data.frame(cn_data, c(3, 4, 10, 11)) : # undefined columns selected

Link to script: https://github.com/SpaCE-Lab-MSU/warmXtrophic/blob/master/R/L1/CN_clean_L1.R

@billspat do you know why this isn't working for me?

billspat commented 3 years ago

@moriahy you must have figured this out since you closed the issue! just checking if you need any additional help.

moriahy commented 3 years ago

Thanks @billspat! I did figure it out :)