Create a new column and fill with if() function - time intervals

This is not reproducible. What is CTD_max_depth$Station? What are the latitude and longitude values? Same with your date samples. Please make sure you've got the details in there as you'll more likely get an answer and it will save the person trying to answer your question some time.

1 Like