How to find minimum of a data set. SD now behaves as a subsetted data.