isolating the smallest date difference
i have a large dataset that has a static date on a subject (date of chest CT scan) and i need to find the smallest date difference and keep that row (delete the others). jmp 16.2.0 Example below - i want to keep rows 2 and 4 (the smallest day difference for subject 1 and 2). subj ID. CT date. lung function date. day difference1 8/30/18 1/29/18 ...