I have a data frame (out.predict.garch) in, what I want to get is to filter the data following the condition that the variables out.predict.garch $ name is equal to one of the levels (ibex) (that if it is done) and that the variable out.predict.garch $ error is the smallest value, thus staying with a single observation in the new data frame.
I have found several formulas for filtering data frame, subset, select, filtrer, but none of them find the lower value of a numeric variable.