slice: slice

Description Usage Arguments Details Value Author(s) See Also

View source: R/slice.R

Description

Ungrouping wrapper for slice

Usage

1

Arguments

...

parameters for dplyr::slice

Details

The wisegroup package provides a wrapper for slice that always returns ungrouped data. This avoids mistakes associated with forgetting to call ungroup().

For original documentation see dplyr::slice().

Use slice...() to retain groups as per dplyr::slice, whilst signalling this in your code.

Value

an ungrouped dataframe

Author(s)

Miles McBain

See Also

dplyr::slice, slice...


MilesMcBain/wisegroup documentation built on Dec. 5, 2019, 2:03 a.m.