Slice_max

R

R dplyr - top_n() and slice_max()

The dplyr package deprecated top_n() in version 1.0.0, recommending slice_max() and slice_min() as replacements. This wasn’t arbitrary—top_n() had ambiguous behavior, particularly around tie…

Read more →