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

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

bot %>% slive(1)
#> # A tibble: 1 x 3 #> coo type fake #> <list<coo_single[,2]>> <fct> <fct> #> 1 <tibble [138 × 2]> whisky a #> ❯mom_tbl