slive: Pick a single row from a tbl

Description Usage Arguments Value See Also Examples

View source: R/mom_coo_coe_verbs.R

Description

Just a wrapper around [ (so a raw dplyr::slice that also add the random aspect.

Usage

1
slive(x, i)

Arguments

x

a mom_tbl (or a tibble::tibble or a data.frame)

i

int which to extract. If not provided, pick one randomly.

Value

a mom_tbl (or a tibble::tibble or a data.frame)

See Also

pick

Other mom verbs: pick(), press(), unfold()

Examples

1
bot %>% slive(1)

MomX/Momocs2 documentation built on May 13, 2020, 4:28 a.m.