This post has NOT been accepted by the mailing list yet.
I have 6 datasets that have approximately 30 columns (TIMESTAMP, Point_1, Point_2, ..., Point_n), and each of these point variables contain thousands of temperature observations. Its current form is useless to me, I need to take a subset of each column for temperatures greater to or equal to 40 C while preserving the shape of the data curve. So far, I have only been able to do this manually by extracting each column separately (see below). Is there a function that I could write that would systematically go through each column, selecting and saving only those observations that are >=40 with their time stamp? The current way that I'm going is quite tedious and I couldn't find any posts that covered this .