skimr (version 1.0.5)

slice.skim_df: Use dplyr verb slice on skim_df objects.

Description

Use dplyr verb slice on skim_df objects.

Usage

# S3 method for skim_df
slice(.data, ..., .preserve = FALSE)

Arguments

.data

A tbl. All main verbs are S3 generics and provide methods for tbl_df(), dtplyr::tbl_dt() and dbplyr::tbl_dbi().

...

Logical predicates defined in terms of the variables in .data. Multiple conditions are combined with &. Only rows where the condition evaluates to TRUE are kept.

The arguments in ... are automatically quoted and evaluated in the context of the data frame. They support unquoting and splicing. See vignette("programming") for an introduction to these concepts.

.preserve

when FALSE (the default), the grouping structure is recalculated based on the resulting data, otherwise it is kept as is.

Value

skim_df object coerced to a data frame.

See Also

dplyr::slice()