slice: Select rows by position

View source: R/verbs_utility.R

sliceR Documentation

Select rows by position

Description

Select rows by position

Usage

slice(.data, ...)

Arguments

.data

A vectra_node object.

...

Integer row indices (positive or negative).

Value

A data.frame with the selected rows.

Examples

f <- tempfile(fileext = ".vtr")
write_vtr(mtcars, f)
tbl(f) |> slice(1, 3, 5)
unlink(f)


vectra documentation built on May 8, 2026, 9:06 a.m.